Part Number Hot Search : 
2N2218A B2567 1N4956US TTA007 00811 78M08 APT20 D24125
Product Description
Full Text Search
 

To Download AD1843JS Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 a
Serial-Port 16-Bit SoundComm Codec AD1843
FEATURES GENERAL PRODUCT DESCRIPTION Single Chip Integrated Speech, Audio, Fax and Modem The AD1843 SoundCommTM Codec is a complete analog front Codec end for high performance DSP-based telephony and audio apHighly Configurable Stereo ADCs and Quad DACs plications. The device integrates the real-world analog I/O reSupports V.34, V.32bis, and Fallback Modem Standards quirements for many popular functions thereby reducing size, As Well As Voice Over Data power consumption, and system complexity. The AD1843 Dual Digital Resamplers with Programmable Input and SoundComm is the world's first codec which can support four Output Phase and Frequency different sample rates simultaneously, without any beat freThree On-Chip Phase Lock Loops for Synchronization to quency noise issues. This is essential for highly integrated audio/ External Signals, Including Video modem/fax products since the sample rates associated with auThirteen Analog Inputs and Seven Analog Outputs dio are very much distinct from the sample rates associated with Advanced Analog and Digital Signal Mixing and Digitaltelephony-oriented data communication. It is also the first codec to-Digital Sample Rate Conversion to offer on-chip digital phase lock loops for sample rate synchroProgrammable Gain, Attenuation and Mute nization to external clock signals. This sample rate flexibility is On-Chip Signal Filters enabled through Analog Devices' Continuous Time Oversampling Digital Interpolation and Decimation (CTO) technology. Analog Output Low Pass The main elements of the AD1843 are its extensive input and mix1 Hz Resolution Programmable Sample Rates from 4 kHz ing section, its two channels of sigma-delta () analog-to-digital to 54 kHz Derived from a Single Clock Input conversion, its four channels of digital-to-analog conversion, its 80-Lead PQFP and 100-Lead TQFP Packages digital filters, and the clock and control circuitry for implementing Operation from +5 V or Mixed +5 V/+3 V Supplies the device's different modes. The AD1843 permits flexible sampleFIFO-Buffered Serial Digital Interface Compatible with rate selection through programming and external synchronization, ADSP-21xx Fixed-Point DSPs many input and output options, and many mixing options. Advanced Power Management (continued on page 11) VHDL Model of Serial Port Available; Evaluation Board SoundComm is a trademark of Analog Devices, Inc. and MAFE Board Available SIMPLIFIED FUNCTIONAL BLOCK DIAGRAM
SYNC 3 LIN MIC AUX1 AUX2 AUX3 MIN 4 20 dB 2 2 2 2 1 XTAL CONV 2 3 BIT 3
AD1843
S E L E C T O R PGA ADC S E L E C T O R DAC S E L E C T O R
CLOCK GENERATION CONTROL REGISTERS
CLKOUT
/A LAW
ADC D I G I T A L
SCLK SDFS SDI SDO BM CS TSO TSI 2 XCTL [1:0] PDMNFT RESET PWRDWN
MUTE MOUT MUTE LOUT1 2 DRIVER MUTE MUTE HPOUTL HPOUTC HPOUTR LOUT2 SUM GAM = GAIN ATTENUATION MUTE LEFT AND RIGHT CHANNELS VOLTAGE REFERENCE
GAM GAM GAM GAM GAM GAM
ATTN MUTE

GAM
MUTE
LEFT AND RIGHT CHANNELS
GAM
M U T E
ATTN
FIFO
/A LAW
DAC1 I N T E R F A C E
ATTN
MUTE DAC
M U T E
MUTE /A LAW
4 2
ATTN
FIFO
DAC2
4
3 VCC
8 GNDD
9 VDD
REV. 0
VREF
CMOUT
AAFILTL AAFILTR
FILTL
FILTR
GNDA
Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices.
(c) Analog Devices, Inc., 1996 One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 617/329-4700 Fax: 617/326-8703
AD1843-SPECIFICATIONS
STANDARD TEST CONDITIONS UNLESS OTHERWISE NOTED
Temperature Digital Supply (VDD) Analog Supply (VCC) Sample Rate (FS) Input Signal Analog Output Passband ADC FFT Size DAC FFT Size VIH VIL VOH VOL IOH IOL
ANALOG INPUT
25 5.0 5.0 48 1008 20 Hz to 20 kHz 2048 8192 2.0 0.8 2.4 0.4 -2 2
C V V kHz Hz
V V V V mA mA
DAC Conditions Autocalibrated 0 dB Attenuation 0 dB Relative to Full Scale 16-Bit Linear Mode No Output Load Mute Off DAC1 Single-Ended DAC2 Differential
ADC Input Conditions Mic 20 dB Gain Disabled LIN Single-Ended (LINLSD & LINRSD = 0) Autocalibrated 0 dB PGA Gain -1.0 dB Relative to Full Scale Line Input 16-Bit Linear Mode
Min Full-Scale Input Voltage (RMS Values Assume Sine Wave Input) All Inputs with ADRFLT & ADLFLT = 0 and LINLSD & LINRSD = 0 (LINLP, LINRP, AUX1L, AUX1R, AUX2L, AUX2R, AUX3L, AUX3R, MIN) All Inputs with ADRFLT & ADLFLT = 0 and LINLSD & LINRSD = 1 (LINLP & LINLN, LINRP & LINRN) All Inputs with ADRFLT & ADLFLT = 1 and LINLSD & LINRSD = 0 (LINLP, LINRP, AUX1L, AUX1R, AUX2L, AUX2R, AUX3L, AUX3R, MIN) All Inputs with ADRFLT & ADLFLT = 1 and LINLSD & LINRSD = 1 (LINLP & LINLN, LINRP & LINRN) MIC with +20 dB Gain (LMGE & RMGE = 1 and ADRFLT & ADLFLT = 0) (MICL, MICR) MIC with 0 dB Gain (LMGE & RMGE = 0 and ADRFLT & ADLFLT = 0) (MICL, MICR) AUX, SUM and MIN Input Impedance* (AUX1L, AUX1R, AUX2L, AUX2R, AUX3L, AUX3R, SUML, SUMR, MIN) LIN Input Impedance* (LINLP, LINLN, LINRP, LINRN) MIC Input Impedance* (MICL, MICR) Input Capacitance* (All Inputs)
PROGRAMMABLE GAIN AMPLIFIER-ADC
Typ 1 2.828 2 5.656 1.127 3.156 2.254 6.312 0.1 0.2828 1 2.828
Max
Units V rms V p-p V rms V p-p V rms V p-p V rms V p-p V rms V p-p V rms V p-p pF
2.55
3.1
5.1 2.8
6.2 3.5
5.6
7.0
0.25
0.31
2.55 10K
3.1
40K 20K 15
Min Step Size (0 dB to 22.5 dB) (All Steps Tested) PGA Gain Range Span*
INPUT (AUX1, AUX2, AUX3, MIN, MIC) ANALOG AMPLIFIERS/ATTENUATORS
Typ 1.5 22.5
Max 1.7 23.5
Units dB dB
1.3 21.5
Min Step Size (+12.0 dB to -30 dB) (All Steps Tested) Step Size (-31.5 dB to -34.5 dB) (All Steps Tested) Input Gain/Attenuation Range* Mute Attenuation* 1.25 1.1 45.5
Typ 1.5 1.5 46.5 -80.0
Max 1.75 1.9 47.5
Units dB dB dB dB
-2-
REV. 0
AD1843
DIGITAL DECIMATION AND INTERPOLATION FILTERS-AUDIO MODE*
Min Passband Passband Ripple Transition Band Stopband1 Stopband Rejection Group Delay Group Delay Variation Over Passband
DIGITAL DECIMATION AND INTERPOLATION FILTERS-MODEM MODE*
Max 0.40 x FS -0.016 0.6 x FS 15/FS 0.0
Units Hz dB Hz Hz dB s s Units Hz dB Hz Hz dB s s kHz
0 0 0.4 x FS 0.6 x FS 91.8
Min Passband Passband Ripple Transition Band Stopband2 Stopband Rejection Group Delay Group Delay Variation Over Passband Sample Rate
DIGITAL DECIMATION AND INTERPOLATION FILTERS-RESAMPLER MODE*
Max 0.442 x FS -0.220 0.542 x FS 19/FS 0.0 24
0 0 0.442 x FS 0.542 x FS 75.7
Min Passband Passband Ripple Transition Band Stopband3 Stopband Rejection Group Delay Group Delay Variation Over Passband
ANALOG-TO-DIGITAL CONVERTERS
Max 0.4 x FS -0.035 0.5 x FS 25/FS 0.0
Units Hz dB Hz Hz dB s s Units dB
0 0 0.4 x FS 0.5 x FS 92.2
Min Audio Dynamic Range (-60 dB Input, THD+N Referenced to Full Scale, A-Weighted, ADRFLT & ADLFLT = 0) Modem Dynamic Range (-60 dB Input, THD+N Referenced to Full Scale, 300 Hz to 4 kHz Analog Output Passband, LINRSD & LINLSD = 1, ADRFLT & ADLFLT = 1, FS = 12.8 kHz) Audio THD+N (Referenced to Full Scale) Modem THD+N (-3.0 dB Referenced to Full Scale, 300 Hz to 4 kHz Analog Output Passband, LINRSD & LINLSD = 1, ADRFLT & ADLFLT = 1, FS = 12.8 kHz) Audio Signal-to-Intermodulation Distortion* (CCIF Method) ADC Crosstalk* LIN Inputs (Input L, Ground R, Read R; Input R, Ground L, Read L) Line to MIC (Input LIN, Ground and Select MIC, Read Both Channels) Line to AUX1, AUX2, AUX3, MIN Interchannel Gain Mismatch (Difference of Gain Errors) ADC Offset Error 80
Typ 85
Max
87
90 -74 0.03 -70
dB % dB
-78.5 -94
0.02 -74 -80 -80 -80 -80 0.5 50
% dB dB dB dB dB dB mV
10
REV. 0
-3-
AD1843
DAC1 DIGITAL-TO-ANALOG CONVERTERS
Min Audio Dynamic Range (-60 dB Input, THD+N Referenced to Full Scale, A-Weighted, DA1FLT = 0) Audio THD+N (Referenced to Full Scale, DA1FLT = 0) Audio Signal-to-Intermodulation Distortion* (CCIF Method) Interchannel Gain Mismatch (Difference of Gain Errors) DAC Crosstalk* (Input L, Zero R, Measure LOUT1R; Input R, Zero L, Measure LOUT1L) Total Out-of-Band Energy* (Measured from 0.6 x FS to 100 kHz in Audio Mode) Audible Out-of-Band Energy* (Measured from 0.6 x FS to 22 kHz in Audio Mode, Tested at FS = 8.0 kHz)
DAC2 DIGITAL-TO-ANALOG CONVERTERS
Typ 80 -74 -92
Max
Units dB % dB dB dB dB dB
77
0.03 -70 -80 0.5 -77 -60
-72
dB
Min Audio Dynamic Range (-60 dB Input, THD+N Referenced to Full Scale, A-Weighted, DA2FLT = 0) Modem Dynamic Range (-60 dB Input, THD+N Referenced to Full Scale, 300 Hz to 4 kHz Analog Output Passband, DA2FLT = 1, RDA2G5:0 & LDA2G5:0 = 000101 [4.5 dB], FS = 12.8 kHz) Audio THD+N (Referenced to Full Scale, DA2FLT = 0) Modem THD+N (-3.0 dB Referenced to Full Scale, 300 Hz to 4 kHz Analog Output Passband, DA2FLT = 1, RDA2G5:0 & LDA2G5:0 = 000101 [4.5 dB], FS = 12.8 kHz) Audio Signal-to-Intermodulation Distortion* (CCIF Method) Interchannel Gain Mismatch (Difference of Gain Errors) DAC Crosstalk* (Input L, Zero R, Measure LOUT2R; Input R, Zero L, Measure LOUT2L) Total Out-of-Band Energy* (Measured from 0.6 x FS to 100 kHz in Audio Mode) Audible Out-of-Band Energy* (Measured from 0.6 x FS to 22 kHz in Audio Mode, Tested at FS = 8.0 kHz) DC Offset
DAC1 AND DAC2 ANALOG AMPLIFIERS/ATTENUATORS
Typ 80
Max
Units dB
78
87
90 -77 0.03 -70
dB % dB
-81 -86
0.016 -76 -80 0.5 -80 -60
% dB dB dB dB dB
5
-72 25
dB mV
Min Step Size (+12.0 dB to -30.0 dB) (All Steps Tested) Step Size (-31.5 dB to -34.5 dB) (All Steps Tested) Step Size (-36.0 dB to -82.5 dB)* Output Attenuation Span* Mute Attenuation*
DIGITAL MIX ATTENUATORS
Typ 1.5 1.5 1.5 82.5 -80
Max 1.75 1.9 1.7 83.5
Units dB dB dB dB dB
1.25 1.1 1.3 81.5
Min Step Size (0 dB to -94.5 dB)* (All Steps Tested) Output Attenuation Span* Mute Attenuation* 1.3 93.5
Typ 1.5 94.5 -90
Max 1.7 95.5
Units dB dB dB
-4-
REV. 0
AD1843
ANALOG OUTPUT Min LOUT1 Full-Scale Output Voltage (RMS Values Assume Sine Wave Input) LOUT2 Full-Scale Single-Ended Output Voltage (RMS Values Assume Sine Wave Input) LOUT2 Full-Scale Differential Output Voltage (RMS Values Assume Sine Wave Input) LOUT1 Output Impedance* LOUT2 Output Impedance* LOUT1 External Load Impedance* LOUT2 External Load Impedance* MOUT External Load Impedance* HPOUT External Load Impedance* HPOUT THD+N (Referenced to Full Scale, 32 External Load Impedance) Output Capacitance* External Load Capacitance* CMOUT External CMOUT Load Current* CMOUT Output Impedance* Mute Click* (Muted Output Minus Unmuted Midscale DAC1 and DAC2 Outputs) SYSTEM SPECIFICATIONS System Frequency Response Ripple* (Line-In to Line-Out) Differential Nonlinearity* Phase Linearity Deviation* STATIC DIGITAL SPECIFICATIONS Min High-Level Input Voltage (VIH) Digital Inputs, Except SCLK XTALI and SCLK Low-Level Input Voltage (VIL) High-Level Output Voltage (VOH) Low-Level Output Voltage (VOL) Input Leakage Current (GO/NOGO Tested) Output Leakage Current (GO/NOGO Tested) 2.0 2.4 -0.3 2.4 -10 -10 Max VDD+ 0.3 VDD+ 0.3 0.8 0.4 10 10 Units V V V V V A A Max 1.0 1 5 Units dB Bit Degrees 1.8 1.8 3.6 10 2 10 16 Typ 0.707 2.0 0.707 2.0 1.414 4.0 Max 2.2 2.2 4.4 600 1 Units V rms V p-p V rms V p-p V rms V p-p k k k % dB pF pF V A k mV
32 0.10 -60 2.25 4 15 100 2.40 10 5
2.10
TIMING PARAMETERS (GUARANTEED OVER OPERATING TEMPERATURE AND DIGITAL SUPPLY RANGE) Min Typ Max Units Serial Data Frame Sync [SDFS] Period (t 1) (Master Mode, FRS = 1 [16 Slots per Frame], SCF = 0 [SCLK = 12.288 MHz]) 20.833 s Frame Sync [SDFS] HI Pulse Width (t2 ) 80 ns Clock [SCLK] to Frame Sync [SDFS] Propagation Delay (t PD1) 15 ns Data [SDI] Input Setup Time to SCLK (t S) 10 ns Data [SDI] Input Hold Time from SCLK (t H) 10 ns Clock [SCLK] to Output Data [SDO] Valid (t DV) 15 ns Clock [SCLK] to Output Data [SDO] Three-State [High-Z] (t HZ) 15 ns Clock [SCLK] to Time Slot Output [TSO] Propagation Delay (t PD2) 15 ns RESET and PWRDWN LO Pulse Width (tRPWL) 100 ns
SCLK t2 SDFS tPD1 SDI tS tH BIT 14 tDV BIT 14 BIT 0 tHZ BIT 0 TSO SDI OR SDO BIT 15 BIT 15 SDFS tPD1 15 14 13 3 2 1 0 15 14 13 LAST VALID TIME SLOT tPD2 15 1413
SCLK
t1
SDO
tRPWL
RESET PWRDWN
Figure 1. Timing Diagrams
REV. 0
-5-
AD1843
POWER SUPPLY (33 HPOUT LOAD)
Power Supply Range--Analog VCC Power Supply Range--Digital VDD Total Power Supply Current--5.0 VCC and V DD Operating (5.0 VCC and VDD Supplies) Total Power Supply Current--5.0 VCC/3.0 VDD Operating* (5.0 VCC Analog/3.0 VDD Digital Supplies) Analog Supply Current--5.0 VCC Operating Digital Supply Current--5.0 VDD Operating Digital Supply Current--3.0 VDD Operating* Digital Power Supply Current--VDD Power Down (PWRDWN LO) Analog Power Supply Current--VCC Power Down (PWRDWN LO) Power Dissipation--5.0 VCC and V DD Operating (Current x Nominal Supply) Power Dissipation--5.0 VCC /3.0 VDD Operating* (Current x Nominal Supply) Power Dissipation--5.0 VCC and VDD Power Down (PWRDWN LO) (Current x Nominal Supply) Power Dissipation--5.0 VCC /3.0 VDD Power Down* (PWRDWN LO) (Current x Nominal Supply) Power Supply Rejection (100 mV p-p Signal @ 1 kHz)* (At Both Analog and Digital Supply Pins, for ADC, DAC1 and DAC2)
CLOCK SPECIFICATIONS*
Min 4.75 2.85
Typ
Max 5.25 5.25 250 175 75 175 100 1 0.5 1250 875 7.5 5
Units V V mA mA mA mA mA mA mA mW mW mW mW dB
210 150 60 150 90
40
Min Input Crystal/Clock Frequency Input Clock Duty Cycle (When an External Clock Is Used Instead of a Crystal) Initialization Sample Rate Change Time
PACKAGE CHARACTERISTICS
Typ 24.576
Max 75/25 0
25/75
Units MHz % ms Units C/W C/W C/W C/W
PQFP JA (Thermal Resistance [Junction-to-Ambient]) PQFP JC (Thermal Resistance [Junction-to-Case]) TQFP JA (Thermal Resistance [Junction-to-Ambient]) TQFP JC (Thermal Resistance [Junction-to-Case])
Typ 96 8.75 30.6 4.6
NOTES 1 The stopband repeats itself at multiples of 64 x F S, where FS is the sampling frequency. Thus the audio mode digital filter will attenuate to -91.8 dB or better across the frequency spectrum except for a range of 0.6 x FS wide at multiples of 64 x F S. 2 The stopband repeats itself at multiples of 64 x F S, where FS is the sampling frequency. Thus the modem mode digital filter will attenuate to -75.7 dB or better across the frequency spectrum except for a range of 0.542 x F S wide at multiples of 64 x F S. 3 The stopband repeats itself at multiples of 64 x F S, where FS is the sampling frequency. Thus the resampler mode digital filter will attenuate to -92.2 dB or better across the frequency spectrum except for a range of 0.5 x FS wide at multiples of 64 x FS . *Guaranteed, not tested. Specifications subject to change without notice.
ABSOLUTE MAXIMUM RATINGS*
Min Power Supplies Digital (VDD) Analog (VCC) Input Current (Except Supply Pins) Analog Input Voltage (Signal Pins) Digital Input Voltage (Signal Pins) Ambient Temperature (Operating) Storage Temperature ESD Tolerance (Human Body Model per Method 3015.2 of MIL-STD-883B) -0.3 -0.3 -0.3 -0.3 0 -65 1000
Max 6.0 6.0 10.0 V CC + 0.3 VDD + 0.3 +70 +150
Units V V mA V V C C V
*Stresses greater than those listed under "Absolute Maximum Ratings" may cause permanent damage to the device. This is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
ORDERING INFORMATION
Model AD1843JS AD1843JST
Temperature Range 0C to +70C 0C to +70C
Package Description
Package Option
80-Lead PQFP S-80 100-Lead TQFP ST-100
CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although the AD1843 features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality.
WARNING!
ESD SENSITIVE DEVICE
-6-
REV. 0
AD1843
PIN CONFIGURATIONS 80-Lead PQFP
CLKOUT CONV3 CONV2 CONV1 XTALO
62
GNDD
GNDD
GNDD
GNDD
SCLK
BIT2
BIT3
BIT1
VDD
VDD
80
79
78
77
76
75
74
73
72
71
70
69
68
VDD
SDI
67
66
65
64
63
61
SDO SDFS GNDD VDD TSI TSO GNDD VDD CS
XTALI
VDD
VDD
1 2 3 4 5 6 7 8 9
60 59 58 57 56 55 54 53 52
GNDD XCTL1 XCTL0 SYNC3 SYNC2 SYNC1 GNDD VDD RESET PWRDWN VDD PDMNFT GNDA HPOUTL HPOUTC HPOUTR VCC SUML SUMR VCC
BM 10 AUX3R 11 AUX3L 12 AUX2R 13 AUX2L 14 AUX1R 15 AUX1L 16 MICR
17
AD1843
TOP VIEW (Not to Scale)
51 50 49 48 47 46 45 44 43 42 41
MICL 18 MIN 19 VCC
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
LOUT1L
CMOUT
LINRP
LOUT2LN
LINRN
AAFILTR
LINLN
LOUT2RP
LOUT2RN
LOUT2LP
AAFILTL
LOUT1R
LINLP
GNDA
MOUT
PIN DESCRIPTION Serial Interface
Pin Name SCLK
PQFP 79
TQFP 99
I/O I/O
Description Serial Clock. SCLK is a bidirectional signal that supplies the clock as an output to the serial bus when the Bus Master (BM) pin is driven HI and accepts the clock as an input when the BM pin is driven LO. When the AD1843 is configured in master mode, the SCLK frequency may be set to either 12.288 MHz or 16.384 MHz with the SCF bit in Control Register Address 26. Serial Data Frame Sync. SDFS is a bidirectional signal that supplies the frame synchronization signal as an output to the serial bus when the Bus Master (BM) pin is driven HI and accepts the frame synchronization signal as an input when the BM pin is driven LO. Serial Data Input. SDI is used by peripheral devices such as the host CPU or a DSP to supply control and playback data information to the AD1843. All control and playback transfers are 16 bits long, MSB first. Serial Data Output. SDO is used to supply status/control register readback and capture data information to peripheral devices such as the host CPU or a DSP. All status/control register readback and capture data transfers are 16 bits long, MSB first. A three-state output driver is used on this pin. Bus Master. When BM is tied HI the AD1843 is the serial bus master. The AD1843 will then supply the serial clock (SCLK) and the frame sync (SDFS) signals for the serial bus. No more than one device (AD1843/CPU/DSP) should be configured as the serial bus master. When BM is tied LO, the AD1843 is configured as a bus slave, and will accept the SCLK and SDFS signals as inputs. The logic level on this pin must not be changed once RESET is deasserted (driven HI). -7-
SDFS
2
2
I/O
SDI
80
100
I
SDO
1
1
O
BM
10
12
I
REV. 0
GNDA
GNDA
FILTR
FILTL
VREF
AD1843
PIN CONFIGURATIONS 100-Lead TQFP
CLKOUT CONV3 CONV2 CONV1 XTALO
77
GNDD
GNDD
GNDD
GNDD
SCLK
BIT2
BIT3
BIT1
VDD
VDD
NC
NC
VDD
SDI
NC
100
99
98
NC
97
96
95
94
93
92
91
90
89
88
87
86
85
84
83
82
81
80
79
78
NC
76
SDO SDFS NC GNDD VDD TSI TSO NC GNDD VDD CS BM NC NC AUX3R AUX3L AUX2R AUX2L AUX1R AUX1L MICL MICR MIN NC VCC
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
XTALI
VDD
VDD
75 74 73 72 71 70 69 68 67 66 65
GNDD XCTL1 NC XCTL0 SYNC3 SYNC2 SYNC1 NC GNDD VDD RESET PWRDWN NC VDD PDMNFT NC GNDA HPOUTL HPOUTC HPOUTR VCC SUML SUMR NC VCC
AD1843
TOP VIEW (Not to Scale)
64 63 62 61 60 59 58 57 56 55 54 53 52 51
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
LINLP
AAFILTR
GNDA
LOUT1R
CMOUT
AAFILTL
FILTL
LINLN
LOUT2LN
VREF
GNDA
NC
NC
NC
NC
FILTR
LOUT2RN
LOUT2RP
LOUT2LP
LINRN
LINRP
GNDA
NC = NO CONNECT
Serial Interface (Continued)
Pin Name CS
PQFP 9
TQFP 11
I/O I
Description Chip Select. When CS is set HI, the serial interface I/O pins will be in their normal active states. When CS is reset LO, SCLK, SDFS, and SDO are threestated; SCLK, SDFS and SDI inputs are ignored; and TSO drives out the logic level received on TSI. Time Slot Output. TSO is asserted HI by the AD1843 simultaneously with the LSB of the last time slot used by the AD1843. It is used to daisy-chain multiple AD1843s on a common TDM serial bus. If the power-down (PWRDWN) pin is asserted or if the chip select pin (CS) is deasserted, TSO is set to the logic level on the TSI pin, allowing powered-down or unselected AD1843s on a daisy-chain to be skipped. Time Slot Input. Asserting TSI HI indicates to the AD1843 that it should use the next six time slots beginning on the next SCLK period. It also enables TSO to be asserted at the end of these six time slots. TSI is ignored (but should be tied LO) when the AD1843 is the bus master since the bus master uses the first time slots in a TDM frame. External Control. These signals reflect the status of bits (Data 8 and 9) in Control Register Address 28 of the AD1843. They may be used for signaling or controlling external logic. -8- REV. 0
TSO
6
7
O
TSI
5
6
I
XCTL[1:0]
59, 58
72, 74
I/O
LOUT1L
MOUT
NC
AD1843
Analog Signals
Pin Name LINLP LINLN LINRP LINRN MICL MICR AUX1L AUX1R AUX2L AUX2R AUX3L AUX3R MIN MOUT LOUT1L LOUT1R HPOUTL HPOUTC HPOUTR LOUT2LP LOUT2LN LOUT2RP LOUT2RN SUML SUMR
Clocks
PQFP 28 29 26 27 18 17 16 15 14 13 12 11 19 35 36 34 47 46 45 32 33 30 31 43 42
TQFP 35 36 33 34 21 22 20 19 18 17 16 15 23 44 45 43 58 57 56 40 41 38 39 54 53
I/O I I I I I I I I I I I I I O O O O O O O O O I I
Description Line Input Left Channel Positive Differential Signal. Line Input Left Channel Negative Differential Signal. Line Input Right Channel Positive Differential Signal. Line Input Right Channel Negative Differential Signal. Microphone Input Left Channel. Microphone input for the left channel. This signal can be either line level or -20 dB from line level. Microphone Input Right Channel. Microphone input for the right channel. This signal can be either line level or -20 dB from line level. Auxiliary #1 Left Channel Line Input. Auxiliary #1 Right Channel Line Input. Auxiliary #2 Left Channel Line Input. Auxiliary #2 Right Channel Line Input. Auxiliary #3 Left Channel Line Input. Auxiliary #3 Right Channel Line Input. Monaural (Mono) Line Input. Monaural (Mono) Line Output. Line Output #1 Left Channel. Line Output #1 Right Channel. Headphone Output Left Channel. Headphone Common Return. Headphone Output Right Channel. Line Output #2 Left Channel Positive Differential Signal. Line Output #2 Left Channel Negative Differential Signal. Line Output #2 Right Channel Positive Differential Signal. Line Output #2 Right Channel Negative Differential Signal. Mixer Line Input Left Channel. Mixer Line Input Right Channel.
Pin Name CLKOUT
PQFP 76
TQFP 95
I/O O
Description Clock Output. This signal is a buffered version of XTALO (with a duty cycle restored to at least 60%/40%), the crystal clock output. This pin is enabled by default but can be three-stated by programming a bit in Control Register Address 28. The CLKOUT frequency is 24.576 MHz. Sync Inputs. These SYNC signals are used as the clock source inputs to three receptive PLLs in the AD1843. These pins accept a clock at, or at a multiple of, the desired sample rate for A-to-D and D-to-A conversions. These inputs are ignored if a sample rate is programmed directly, but should never be left floating. Conversion Clock Outputs. These output clocks have an average period equal to (or 128 times) the internal sample rates of the AD1843. These clock outputs are three-stated by default but can be enabled by programming bits in Control Register Address 28. Bit Clock Outputs. These output clocks can be individually programmed to multiples of the sample rates. Support for V.34 or V.32 bit rates is available. These clock outputs are three-stated by default but can be enabled by programming bits in Control Register Address 28.
SYNC[3:1]
57, 56, 55
71, 70, 69
I
CONV[3:1]
75, 71, 67
94, 89, 84
O
BIT[3:1]
74, 70, 66
92, 87, 82
O
REV. 0
-9-
AD1843
Miscellaneous
Pin Name XTALI
PQFP 61
TQFP 76
I/O I
Description 24.576 MHz Crystal Input. When using a crystal as the clock source, the crystal should be connected between the XTALI and XTALO pins. This crystal should be 24.576 MHz for the normal sampling rate range, i.e., 4 kHz to 54 kHz. A clock input (perhaps the CLKOUT of another AD1843) may be driven into XTALI in place of a crystal. The external clock input must be greater than or equal to 512 times the maximum desired AD1843 sampling frequency. 24.576 MHz Crystal Output. When using a crystal as the clock source, the crystal should be connected between the XTALI and XTALO pins. If a clock is driven directly into XTALI, then XTALO should be left unconnected. Power Down. PWRDWN is active LO. The assertion of this signal will initialize the on-chip Control Registers to their default values, and will completely and quietly power down the AD1843. If a crystal is not connected between XTALI and XTALO, there must be a 24.576 MHz clock input on XTALI for at least 5 ms after this signal is asserted LO for proper operation. The AD1843 will not be completely powered down until after this 5 ms period elapses. The AD1843 always finishes an in-progress power-up sequence before initiating a power-down sequence, and vice versa. If the PWRDWN pin is asserted while a power-up sequence is in progress, the 24.576 MHz clock signal on XTALI must persist for a worst case maximum of 479 ms (power up = 470 ms, autocalibration = 4 ms, power down = 5 ms) after PWRDWN is asserted. When INIT (Control Register Address 0, Bit 15) is set to a "1," the power-down sequence is complete. See the "Power Management" section for important additional details. Reset. RESET is active LO. The assertion of this signal will initialize the on-chip registers to their default values, and will completely power down the AD1843. RESET is similar to PWRDWN, except that when PWRDWN is asserted, power down is "quiet" and performed synchronously to the internal clocks. When RESET is asserted, power down is "noisy" and performed asynchronously to the internal clocks. Power-Down Mono Feedthrough. When the AD1843 mixer is powered down, and PDMNFT is asserted HI, the Mono Input (MIN, PQFP Pin 19) is routed to the Mono Output (MOUT, PQFP Pin 35), and the signal applied to MIN will feedthrough to MOUT. When the AD1843 mixer is powered down and PDMNFT is deasserted LO, the feedthrough of MIN to MOUT will be muted. When the AD1843 mixer is not powered down, and MIN to MOUT feedthrough is desired, the Mono Input Mix Mute (Control Register Address 8, Bit 15) and the Mono Output Mute (Control Register Address 8, Bit 6) must be unmuted. During power-down feedthrough, the signal applied to the MIN input appears only at the MOUT output. During normal operation, the signal applied to the MIN input appears at both the MOUT and the LOUT1 outputs. The state of the PDMNFT pin should be changed when the AD1843 mixer is powered up. If the state of PDMNFT is changed when the AD1843 is in total power-down, audible pops and clicks will likely result. Common-Mode Voltage Output. Nominal 2.25 volt reference available externally for dc-coupling and level-shifting. CMOUT should not be used where it will sink or source current. Voltage Reference Filter. Voltage reference filter point for external bypassing only. Left Channel Filter. This pin requires a 1.0 F capacitor to analog ground for proper operation. Right Channel Filter. This pin requires a 1.0 F capacitor to analog ground for proper operation. Left Channel Antialias Filter. This pin requires a 1000 pF capacitor to analog ground for proper operation. Right Channel Antialias Filter. This pin requires a 1000 pF capacitor to analog ground for proper operation.
XTALO
62
77
O
PWRDWN
51
64
I
RESET
52
65
I
PDMNFT
49
61
I
CMOUT
38
47
O
VREF FILTL FILTR AAFILTL AAFILTR
39 25 23 24 22
48 31 29 30 28
I I I I I
-10-
REV. 0
AD1843
POWER SUPPLIES
Pin Name PQFP VCC GNDA VDD 20, 41, 44 21, 37, 40, 48 4, 8, 50, 53, 63, 64, 68, 72, 77 3, 7, 54, 60, 65, 69, 73, 78
TQFP
I/O
Description Analog Supply Voltage (+5 V). Analog Ground. Digital Supply Voltage (+5/3 V).
25, 51, 55 I 27, 46, 49, 59 O 5, 10, 62, 66, I 79, 80, 85, 90, 96 4, 9, 67, 75, I 81, 86, 91, 97 3, 8, 13, 14, 24, 26, 32, 37, 42, 50, 52, 60, 63, 68, 73, 78, 83, 88, 93, 98
GNDD NC
Digital Ground. No Connect. May be left floating.
(continued from page 1) The versatility of the device is shown by the following examples of functions it can perform: * Stereo audio input and/or quad output, simultaneously at different sample rates * Stereo audio output with simultaneous full duplex modem or fax operation with frequency and phase resampling * Mono audio input and stereo audio output with simultaneous modem receive and transmit for simultaneous voice and data communications * Dual independent audio inputs with audio output for echocancelling speakerphones
Audio Functional Description
differential stereo output for connection to a DAA. The line and differential outputs are looped back to the ADC input selector. The AD1843's mixing and routing capabilities are extensive. The digital data from both DAC channels after interpolation can be routed back to the ADC decimators, to support digitalto-digital sample rate conversion (digital resampling). Digital data from the ADC can also be routed to the two stereo DAC pairs, for a digital loopback mode which is helpful for devicelevel and board-level test. Digital data from either stereo DAC can be mixed with the digital data feeding the other DAC, and the analog signal from DAC2 can be mixed with the analog output from DAC1. Sample rates are independently programmable in the range of 4 kHz to 54 kHz to a 1 Hz resolution or sample rates can be synchronized to an external source. Up to three different signals can be applied to the device's three digital phase lock loop SYNC inputs for external synchronization. These SYNC inputs can also be used in a special mode for audio/video synchronization. In this mode, an NTSC or PAL derived clock signal (approximately 15 kHz) is applied to the SYNC inputs and the device produces one of a variety of standard audio sample rates (32 kHz, 44.056 kHz, 44.1 kHz and 48 kHz, and most of these divided by the integers 1 through 8). In this manner, video and audio sample rates which are mathematically unrelated can be locked together.
Data Communications/Telephony Functional Description
The AD1843 SoundComm codec provides a complete audio solution with very few external components required. Dynamic range of the device exceeds 80 dB over the 20 kHz audio band and sample rates from 4 kHz to 49 kHz are supported (up to 54 kHz for a single channel if other channels are powered down). The audio functionality of this device is a superset of that found in the Analog Devices AD1848 SoundPort(R) device which has set the business audio standard throughout the computer industry. Inputs to the device include a stereo microphone pair, a stereo line pair, a stereo CD input pair (AUX1), a stereo synthesized music input pair (AUX2), a dual phone line input (AUX3), a mono input, and a stereo input from an FM synthesizer (SUM). All of these inputs (except SUM) are multiplexed to the two A/D converters and are mixable directly as analog signals with the outputs of the D/A converters. All analog input signals (except SUM) can be amplified, attenuated or muted before mixing with the outputs of the D/A converters. The device has two pairs of DACs which accept 8- or 16-bit digital data from the serial port. Each DAC pair's independent sampling rate can either be programmed by Control Register (with 1 Hz resolution) or synchronized to an external input. The second pair of DACs can be used to replace the music synthesis DAC pair found on many audio products for PCs. Outputs from the AD1843 include a line output, a mono output, a stereo headphone output with its own current return path, and a
SoundPort is a registered trademark of Analog Devices, Inc.
The AD1843 includes all data conversion, filtering, and clock generation circuitry needed to implement an echo-cancelling modem with a companion digital signal processor. Softwareprogrammable sample rates and clocking modes support all established modem standards including those for the V.34 standard. The AD1843 utilizes advanced technology to move the entire echo-cancelling modem implementation into the digital domain. The device maintains 90 dB typical dynamic range throughout all filtering and data conversion across a 9.6 kHz passband. Purely DSP-based echo cancellation algorithms can maintain robust bit error rates under worst-case signal attenuation and echo amplitude conditions. The AD1843's on-chip interpolation filter resamples (both frequency and phase) the received signal after echo cancellation in the DSP, freeing the processor for other voice or data communications tasks.
REV. 0
-11-
AD1843
XTALI
XTALO SYNC3 SYNC2 SYNC1 CONV3 CONV2 CONV1
BIT3
BIT2
BIT1
LINLP LINLN CLOCK GENERATION
CLKOUT
LINRP LINRN
MICL MICR 20 dB
AD1843
CONTROL REGISTERS
AUX1L AUX1R
AUX2L AUX2R PGA LEFT ADC RIGHT
AUX3L AUX3R
S E L E C T O R
/A LAW
MIN
ADC SCLK SDFS
Figure 2. Detailed Functional Block Diagram
GN/AT GN/AT MUTE MUTE GN/AT MUTE MUTE MUTE GN/AT GN/AT S E L E C T O R ATTN MUTE LEFT ATTN MUTE S E L E C T O R MUTE ATTN GN/AT MUTE DAC FIFO RIGHT MUTE MUTE GN/AT = GAIN/ ATTENUATION GN/AT MUTE MUTE LEFT GN/AT MUTE RIGHT DAC ATTN MUTE FIFO VOLTAGE REFERENCE 8 4 AAFILTL AAFILTR VREF CMOUT FILTL FILTR GNDA 3 VCC GNDD
-12-
MUTE
SDI SDO BM CS /A LAW DAC1 TSO TSI 2 XCTL [1:0] PDMNFT RESET PWRDWN /A LAW DAC2
MOUT
MUTE
D I G I T A L
LOUT1L
LOUT1R
DRIVER
MUTE
HPOUTL HPOUTC HPOUTR
I N T E R F A C E
LOUT2LP LOUT2LN LOUT2RP LOUT2RN
SUML SUMR
9 VDD
REV. 0
AD1843
On-chip bit and baud clock generation circuitry allows either synchronous or asynchronous operation of the transmit (DAC) and receive (ADC) paths. Each path features independent phase advance and retard adjustments via software control. The AD1843 can also synchronize modem operation to an external terminal band clock. Because the device has multiple input and output channels and converters, it is well suited for telephony applications requiring multiple channels for voice and modem. A detailed block diagram of the AD1843 is shown in Figure 2.
DETAILED PRODUCT DESCRIPTION
noise are removed from the DACs' analog stereo output by onchip switched-capacitor and continuous-time filters. All of the analog inputs (except the stereo line input) can be mixed with the DAC1 output in the analog domain. The DAC2 output can also be mixed with the DAC1 output in the analog domain. The DAC1 and DAC2 digital data can be fed back to the digital half of the ADC to enable digital resampling operation. DAC1 and DAC2 can be run at different sample rates and with different digital filter functions, without any beat frequency problems.
FUNCTIONAL DESCRIPTION
The Serial-Port AD1843 SoundComm Codec integrates the key audio and PSTN data conversion and control functions into a single integrated circuit. The AD1843 is intended to provide a complete, single-chip audio and fax/modem solution for PC multimedia applications. External circuit requirements are limited to a minimal number of low cost support components. Dynamic range exceeds 80 dB over the 20 kHz audio band. Sample rates from 4 kHz to 54 kHz with 1 Hz resolution are supported from a single external crystal or clock source. The AD1843 SoundComm Codec is intended to be interfaced through a DSP chip or an ASIC to a host bus such as ISA, EISA or PCI. A general system architecture is shown in Figure 3.
S Y S T E M B U S
This section overviews the functionality of the AD1843 and is intended as a general introduction to the capabilities of the device. As much as possible, detailed reference information has been placed in "Control Registers" and other sections. The user is not expected to refer repeatedly to this section.
Analog Inputs
The AD1843 SoundComm Codec accepts stereo line-level and mic-level inputs. The mono MIN analog signal input, and LIN (differential), MIC, AUX1, AUX2, AUX3 and post-mixed DAC output analog stereo signals are multiplexed to the internal programmable gain amplifier stage (PGA). The PGA following the input multiplexer allows left and right independent selectable gains for each channel from 0 dB to 22.5 dB in +1.5 dB steps. The Codec can operate either in a global stereo mode or in a global mono mode with left-channel inputs appearing at both channel outputs.
Analog Mixing
ASIC
AD1843
ANALOG I/O
ADSP-21xx
Figure 3. AD1843 System Diagram
The SoundComm codec includes a stereo pair of analog-todigital converters and two stereo pairs of digital-to-analog converters. Inputs to the ADC can be selected from eight sources of analog signals: stereo line (LIN), stereo microphone (MIC), stereo auxiliary line #1 (AUX1), stereo auxiliary line #2 (AUX2), stereo auxiliary line #3 (AUX3), mono line (MIN), mixer output, and DAC2 output. A mono output and a stereo headphone driver are included on-chip. A stereo line level input (SUM) can be mixed into the output summer. A software-controlled programmable gain stage allows independent gain for each ADC channel. The ADCs' output can be digitally mixed with both the DAC1 and DAC2 inputs. The left and right ADC channels can be configured for different sample rates and digital filter function (audio, modem or resampling). The pair of 16-bit outputs from the ADCs is available over a serial interface that also supports 16-bit digital input to the DACs and control/status information. The AD1843 can accept and generate 16-bit twos-complement PCM linear digital data, 8-bit unsigned magnitude PCM linear data, and 8-bit -law or A-law companded digital data. The data format is defined independently for each conversion resource on the AD1843. The DACs are preceded by a four sample deep FIFO buffer and a digital interpolation filter. The DAC1 and DAC2 outputs can be mixed in the digital domain. Digital and analog attenuators provide independent user volume control (plus mute) over each DAC channel. Nyquist images and shaped quantized REV. 0
The MIN analog mono signal, and the MIC, AUX1, AUX2, AUX3 and SUM analog stereo signals can be mixed in the analog domain with the DAC1 output. Each channel of each auxiliary analog input can be independently gained/attenuated from +12 dB to -34.5 dB in 1.5 dB steps or completely muted. The mixer output is available on LOUT1 externally and as an input to the ADCs. Even if the AD1843 is not playing back data from its DACs, the analog mix function can still be active. MIN allows the analog signal intended for the PC speaker to be passed through, attenuated or mixed in the AD1843's analog domain. MIN can be used to accept other mono input sources. A digital control signal pin PDMNFT (Power Down Mono Feed Through) enables the mono input signal to be fed through to the mono output when the AD1843 mixer is powered down.
Analog-to-Digital Datapath
The AD1843 ADCs incorporate a fourth-order modulator. A single pole of passive filtering is all that is required for antialiasing the analog input because of the ADC's high oversampling ratio. The ADCs include linear-phase digital decimation filters that low-pass filter the input. ADC input overrange conditions will cause bits to be set that can be read. Each channel of the mic inputs can be amplified in the analog domain by +20 dB to compensate for the voltage swing difference between line levels and typical condenser microphone levels.
Digital-to-Analog Datapath
The DACs are preceded by a programmable attenuator and a low-pass digital interpolation filter. The anti-imaging interpolation filter oversamples and digitally filters the higher frequency images. The attenuator allows independent control of each DAC channel from +12.0 dB to -82.5 dB in 1.5 dB steps plus full mute. The DACs' noise shapers oversample and convert the signal to a single-bit stream. The DAC outputs are then
-13-
AD1843
filtered in the analog domain by a combination of switched-capacitor and continuous-time filters. They remove the very high frequency components of the DAC bitstream output. No external components are required. Phase linearity at the analog output is achieved by internally compensating for the group delay variation of the analog output filters. Changes in DAC output attenuation may be programmed to take effect immediately, or only on zero crossings of the digital signal, thereby eliminating "zipper" noise on playback. Each channel has its own independent zero-crossing detector and attenuator change control circuitry. A timer guarantees that requested volume changes will occur even in the absence of an input signal that changes sign. The time-out period is 8 milliseconds at a 48 kHz sampling rate and 48 milliseconds at an 8 kHz sampling rate. (Time-out [ms] 384 / FS [kHz]).
Digital Mixing
representations in all four formats correspond to equivalent fullscale signals. The eight least-significant bit positions of 8-bit data in 16-bit fields are ignored on input and zeroed on output. The 16-bit PCM data format is capable of representing 96 dB of dynamic range. Eight-bit PCM can represent 48 dB of dynamic range. Companded -law and A-law data formats use nonlinear coding with less precision for large-amplitude signals. The loss of precision is compensated for by an increase in dynamic range to 64 dB and 72 dB, respectively. On input, 8-bit companded data is expanded to an internal linear representation, according to whether -law or A-law was specified in the Codec's internal registers. Note that when law compressed data is expanded to a linear format, it requires 14 bits. A-law data expanded requires 13 bits.
15 COMPRESSED INPUT DATA MSB 87 LSB 0
Stereo digital output from the ADCs can be mixed digitally with the input to the DACs. Digital output from the ADCs going out of the serial port is unaffected by this digital mix. Along the digital mix datapath, the 16-bit linear output from the ADCs is attenuated by an amount specified with Control Register bits. The level of attenuation applied to the left and right channels is independently programmable. (Note that internally the AD1843 always works with 16-bit PCM linear data, digital mixing included; format conversions take place at the input and output.) Sixty-four steps of -1.5 dB attenuation are supported to -94.5 dB. The digital mix datapath can also be completely muted, preventing any mixing of the analog input with the analog output. Note that the level of the mixed signal is also a function of the input PGA settings, since they affect the ADCs' output. The sample rate of the ADCs and the selected DAC pair must be the same for the digital mix function to operate properly. The attenuated digital mix data is digitally summed with the DAC input data prior to the DACs' datapath attenuators. The digital sum of digital mix data and DAC input data is clipped at plus or minus full scale and does not wrap around. Because both stereo signals are mixed before the output attenuators, mix data is attenuated a second time by the DACs' datapath attenuators. In case the AD1843 is playing back data but input digital DAC data fails to arrive in time ("DAC underrun"), then a midscale zero will be added to the digital mix data in place of the unavailable DAC data.
Analog Outputs
15 EXPANSION MSB
3/2 LSB
2/1
0
15 DAC INPUT MSB
3/2 LSB
2/1 000/00
0
Figure 4. -Law or A-Law Expansion
When 8-bit companding is specified, the ADCs' linear output is compressed to the format specified.
15 ADC OUTPUT MSB 0 LSB
15 TRUNCATION MSB
3/2 LSB
2/1
0
.
15 COMPRESSION MSB 87 LSB 00000000 0
Figure 5. -Law or A-Law Compression
Note that all format conversions take place at input or output.
Power Supplies and Voltage Reference
The two mixer line-level outputs are available at external pins. Each output channel can be independently muted. When muted, the outputs will settle to a dc value near CMOUT, the midscale reference voltage. The two DAC2 stereo outputs are available at external pins differentially. The full-scale level on these pins is established by programming bits in a Control Register. In addition, there is stereo headphone output (with a current return), and a mono output. Both the headphone output and the mono output have a single mute control.
Digital Data Types
The AD1843 operates from either +5.0 V analog (VCC) and digital (VDD) power supplies or +5.0 V analog and +3.0 V digital supplies. Independent analog and digital supplies are recommended for optimal performance though excellent results can be obtained in single-supply systems. A voltage reference is included on the Codec and its +2.25 V buffered output is available on an external pin (CMOUT). The reference output can be used for biasing op amps used in single supply systems. The internal reference is externally bypassed to analog ground at the VREF pin.
Clocks and Sample Rates
The AD1843 supports four data types: 16-bit twos-complement linear PCM, 8-bit unsigned linear PCM, 8-bit companded -law, and 8-bit companded A-law, as specified by control register bits. The data type is independently assignable for each conversion resource (i.e., ADCL, ADCR, DAC1 and DAC2). Data in all four formats is always transferred MSB first. Eight-bit data is always left-justified in 16-bit fields; said in other words, the MSBs of all data types are always aligned; in yet other words, full-scale
The AD1843 operates from a single external clock or crystal source. From a single clock, a wide range of sample rates can be generated. When supplied with a single 24.576 MHz clock, the AD1843 can be programmed to generate any sample frequency between 4 kHz and 54 kHz with 1 Hz resolution. For modem sample rate support, the frequency programmed can also be increased by 8/7 using a control bit. All sample rate changes can be made "on the fly." The AD1843's SYNC inputs can be used to synchronize the sampling activity of the four on-chip conversion resources to external clock signals, such as video HSYNC or an ISDN network clock. The SYNC inputs are used by three on-chip digital phase REV. 0
-14-
AD1843
lock loops, which can be arbitrarily assigned to the conversion resources. The lock range of these digital PLLs is 4 kHz to 54 kHz, which is the same range supported by the registercontrolled clock generators. If a SYNC input stops after its associated phase lock loop has had a chance to initially lock, the AD1843 will continue to generate a sample clock (as well as BIT clock and CONV clock) very similar to the initial frequency, but off by at most 1%. The three SYNC inputs feed three on-chip Digital Phase Lock Loops (DPLLs) which utilize a first-order loop filter with a 20 Hz corner frequency. Jitter frequencies above 20 Hz are attenuated, and jitter frequencies below 20 Hz are interpreted as time base drift, and are tracked. The DPLL provides 12 dB per octave of jitter rejection. The DPLLs have been designed to tolerate at least 2% Unit Interval (UI) of SYNC clock jitter. The DPLLs are critically damped at all input frequencies.
Power Management
The AD1843 SoundComm codec has extensive power management capabilities. Hardware power down is performed using the PWRDWN pin. Software power management is programmed using Control Register Address 27 and 28. Several elements of the AD1843 can be powered down on a selective basis. These blocks include: the DAC2 to DAC1 analog mixer; the entire DAC1 conversion channel; the entire DAC2 conversion channel; the analog half of the ADC, DAC1 and DAC2; the headphone driver; the entire analog mixer; the right ADC channel; the left ADC channel; all
four conversion channels; clock generator 1; clock generator 2; clock generator 3; conversion clock outputs 1 through 3; bit clock outputs 1 through 3; and the nominal 24.576 MHz clock output. Refer to the descriptions of Control Register Address 27 and 28 for further information. For proper operation, the AD1843 must be calibrated following power-up. This initial calibration occurs automatically without any user intervention or programming. Subsequent to this initial power-up autocalibration, there is no requirement to recalibrate the SoundComm codec following software power-down sequences. The entire AD1843 or selected portions of the device may be powered down, allowed to idle indefinitely, then powered up and used immediately, without the need for repeated autocalibration. The digital information obtained during the initial power-up calibration is retained and valid unless the RESET or PWRDWN pin is asserted, forcing a hardware reset. (If desired, the user can specify that a calibration cycle occur when leaving the software power-down state by setting ACEN (Control Register Address 28, Bit 14) to "1.") A hardware reset or powerdown clears the calibration information, and therefore a fresh autocalibration cycle is performed by the AD1843 following this event. Autocalibration takes approximately 4 ms to complete. The following table provides an indication of the power savings associated with powering-down the various resources in the AD1843. Note that the power savings is somewhat order-
Table I. AD1843 Power-Down Savings
+5 V Digital, +5 V Analog Supplies Total Active Operation Current: 200 mA Average, Typical Absolute IDD + ICC Current 8 mA 2 mA 6 mA 6 mA 6 mA 20 mA 8 mA 2 mA 8 mA 8 mA 8 mA 38 mA 30 mA 24 mA 60 mA 108 mA 54 mA 134 mA 140 mA Average, Typical Normalized Power Savings 4% 1% 3% 3% 3% 10% 4% 1% 4% 4% 4% 17% 15% 12% 30% 54% 27% 67% 70%
Software Power Down CLKOUT Output All Bit Clocks and All Conversion Clocks Clock Generator 1 Clock Generator 2 Clock Generator 3 All Clock Generators Headphone Driver DAC2 to DAC1 Mix Analog Input to Analog Output Mix ADC Left Channel ADC Right Channel ADC Left and Right Channels DAC2 (Left and Right Channels) DAC1 (Left and Right Channels) DAC2 AND DAC1 (Left and Right Chs) ADC and DAC2 and DAC1 Analog Channel All Control Register 27 Converter All of the Above (Register 27 and Clocks and PDNI)
Control Register Bit(s) ENCLKO Bit = 0 ENBT3, ENBT2, ENBT1 Bits = 0 ENCV3, ENCV2, ENCV1 Bits = 0 C1EN Bit = 0 C2EN Bit = 0 C3EN Bit = 0 C1EN, C2EN, C3EN Bits = 0 HPEN Bit = 0 DDMEN Bit = 0 AAMEN Bit = 0 ADLEN Bit = 0 ADREN Bit = 0 ADLEN, ADREN Bits = 0 DA2EN Bit = 0 DA1EN Bit = 0 DA2EN, DA1EN Bits = 0 ADLEN, ADREN, DA2EN, DA1EN Bits = 0 ANAEN Bit = 0 HPEN, DDMEN, AAMEN, ADLEN, ADREN, DA2EN, DA1EN, ANAEN Bits = 0 PDNI Bit = 1 ENCLKO, ENBT3, ENBT2, ENBT1, ENCV3, ENCV2, ENCV1, C1EN, C2EN, C3EN, HPEN, DDMEN, AAMEN, ADLEN, ADREN, DA2EN, DA1EN, ANAEN Bits = 0, PDNI Bit = 1
176 mA
88%
REV. 0
-15-
AD1843
dependent; depending upon the sequence in which the hardware resources are powered down, the savings may be more or less than the typical numbers given.
Mode Changing
sion resources, as long as the DFREE bit (Control Register Address 27) is asserted (i.e., set to "1"). If DFREE is not asserted, then the maximum sampling rate for the remaining conversion resources is 49 kHz.
Digital Filter Selection
In general, there are very few restrictions with respect to changing the operating mode of the AD1843. Because of the advanced Continuous Time Oversampling technology, the waiting period associated with changes to the sample rate of the data converters ("Mode Change Enable" resynchronization delay) is eliminated. The only waiting periods associated with the AD1843 occur at start-up, and are documented in the "START-UP SEQUENCE" section below. Following the start-up sequence, the sample rate of the four data conversion resources on the AD1843 may be changed at any time, on-the-fly (presuming that they are enabled). All gain, mute and attenuation settings of enabled resources may also be changed at any time.
Channel Synchronization
The operative digital filter modes for the four conversion resources on the AD1843 SoundComm are programmed using Control Register Address 25. ADLFLT (Bit 0) selects the digital filter mode for the ADC left channel and ADRFLT (Bit 1) selects the digital filter mode for the ADC right channel. Note that these bits also establish the full-scale input voltage range for these channels as well. DA1FLT (Bit 8) selects the DAC1 digital filter mode, and DA2FLT (Bit 9) selects the DAC2 digital filter mode. Note that these bits also establish the full-scale output voltage for these channels as well. The three digital filter modes are audio, modem and resampler. The specifications for these modes are given in the description of Control Register Address 25, as well as in the "SPECIFICATIONS" section of this data sheet. The specifications have been made to satisfy the demands of the applications which the AD1843 can serve. The audio mode provides decimation and interpolation characteristics sufficient for high quality capture and playback of material from 20 Hz to 20 kHz. The modem mode provides characteristics sufficient for modulation standards up to V.34 quality. The resampling mode provides optimal characteristics for high quality sample rate conversion. While in the resampling mode, all images in the resampled data stream (including those in the transition band) are attenuated to below the quantization noise floor. Note that the maximum sample rate for modem mode is 24 kHz.
Digital Resampling
If multiple AD1843s are used in a daisy-chained system, and it is desired to synchronize data conversion activity among the multiple codecs, the clock generator blocks of the AD1843s must be enabled on the same frame (see step 5 in the "STARTUP SEQUENCE" section below). A DAC channel does not actually start processing samples until the first rising edge of the conversion clock (CONV pin) after the sixth rising edge of frame sync (SDFS pin) after the channel is enabled (via a write to DA1EN or DA2EN in Control Register Address 27). The wait until the sixth rising edge of frame sync is necessary to allow the four deep DAC FIFO to be filled before conversion commences. The subsequent wait until the rising edge of the conversion clock is necessary to synchronize the serial interface based DAC channel enable command with a conversion clock that is potentially already running (which is particularly likely if the SYNC pin inputs and lock mode are in use). The ADC channels behave very similarly to the DAC channels. An ADC channel does not actually start taking samples until the first rising edge of the conversion clock (CONV pin) after the sixth rising edge of frame sync (SDFS pin) after the channel is enabled (via a write to ADLEN or ADREN in Control Register Address 27). The wait until the sixth rising edge of frame sync is present so that the ADC startup is similar to that of the DAC startup, as well as to allow some time for stale ADC data inside the AD1843 to be cleared. The subsequent wait until the rising edge of the conversion clock is necessary to synchronize the serial interface based ADC channel enable command with a conversion clock that it potentially already running (which is particularly likely if the SYNC pin inputs and lock mode are in use).
Supported Conversion Rates
Digital resampling is best achieved by routing the digital output of one of the DACs back to the digital input of one of the ADCs. This bypasses the analog portion of the DAC and ADC, eliminating their noise and signal delay contributions. This feature is enabled by bits DAADR1:0 (Digital ADC Right Channel Source Select) and DAADL1:0 (Digital ADC Left Channel Source Select) in Control Register Address 25. If the "Digital Resampler Filter Mode" (DRSFLT bit = "1," Control Register Address 25) is enabled, the DAC2 pair is sacrificed, but the remaining four channels (ADC left and right, DAC1 left and right) can still be used in any way they could have been when not in "Digital Resampler Filter Mode." When in this mode, internal AD1843 hardware normally devoted to DAC2 is reallocated to the other four channels, allowing these channels to realize superior digital filtering. Note that the AD1843 DOES NOT actually have to be in digital resampler filter mode to perform digital resampling, however the superior digital filters in this mode allow for a much higher quality digital resampling.
Using the AD1843 in a Modem Application
With all conversion channels operating (i.e., ADC left, ADC right, DAC1 and DAC2), the AD1843 is able to support sampling rates up to 49 kHz, which 2.1% higher than the nominal maximum audio standard of 48 kHz, to accommodate timebase drift while configured in slave mode. If either one DAC (i.e., either DAC1 or DAC2) or both ADC channels (i.e., ADC left and ADC right) are shut down, then the AD1843 can support sampling up to 54 kHz on all channels of the remaining conver-
The AD1843 analog performance is sufficient to support the modem Analog Front End (AFE) function, for data modulation standards up to and including the 28.8 kbps V.34 ITU standard. The data pump function is performed in a companion DSP, such as the ADSP-2181, for which several V.34 algorithms (from third party Independent Algorithm Vendors) exist.
-16-
REV. 0
AD1843
PC ATTENTION "BEEPER" SIGNAL EXTERNAL WAVEFORM SYNTHESIZER
AD1843 SOUNDCOMM CODEC
LINE IN MIC IN RIGHT MIC IN LEFT CONV1 BIT1 SYNC2
NTSC HORIZONTAL SYNC SIGNAL
AUDIO FROM EXTERNAL MPEG DECODER
AUDIO FROM CD-ROM
AUX1 IN AUX2 IN AUX3 IN MONO IN SUM IN LINE1 OUT HEADPHONE OUT LINE2 OUT RIGHT LINE2 OUT LEFT MONO OUT
DAA
ADSP-21xx DSP OR ASIC SERIAL INTERFACE SERIAL INTERFACE IDMA PORT OR PARALLEL PORT
HOST BUS ISA OR PCI
PSTN
PC SPEAKER AUDIO FROM DAT OR CASSETTE EXTERNAL POWERED MULTIMEDIA SPEAKERS SPEAKERPHONE
Figure 6. Typical Configurations
SAMPLE PERIOD N+1 SAMPLE PERIOD N
SLOT 0 256 BITS SDI OR SDO 3 2 1 0 15 14 13 12 MSB SCLK 512 BITS 512 BITS 3 2 1 0 15 14 13 12 MSB 3 2 1 0 SLOT 15 SLOT 16 256 BITS SLOT 31
SAMPLE PERIOD N+3 SAMPLE PERIOD N+2
SLOT 0 256 BITS 15 14 13 12 MSB 3 2 1 0 15 14 13 12 MSB SLOT 15 SLOT 16 256 BITS
FRAME M
SDFS FRS = 0 [DEFAULT 32 SLOTS PER FRAME, 2 SAMPLES PER FRAME SYNC] MASTER MODE NOTE THAT AD1843 FRAME RATE IS NOT RELATED TO SAMPLE RATES
FRAME M+1
Figure 7. FRS = 0, Master Mode Timing
SAMPLE PERIOD N+1 SAMPLE PERIOD N
SLOT 0 SLOT 15 SLOT 0 SLOT 15
SAMPLE PERIOD N+3 SAMPLE PERIOD N+2
SLOT 0 SLOT 15 SLOT 0
SDI OR SDO
3
2
1
0
15 14 13 12 MSB
3
2
1
0
15 14 13 12 MSB
3
2
1
0
15 14 13 12 MSB
3
2
1
0
15 14 13 12 MSB
SCLK 256 BITS 256 BITS 256 BITS
FRAME M FRAME M+1
SDFS
FRAME M+2 FRAME M+3
FRS = 1 [16 SLOTS PER FRAME, 1 SAMPLE PER FRAME SYNC] MASTER MODE NOTE THAT SCLK CAN BE PROGRAMMED FOR EITHER 12.288 MHz OR 16.384 MHz WHEN IN MASTER MODE
Figure 8. FRS = 1, Master Mode Timing
REV. 0
-17-
AD1843
SAMPLE PERIOD N+1 SAMPLE PERIOD N
SLOT 0 GAP SDI OR SDO 15 14 13 12 MSB SCLK 512 BITS 512 BITS 256 BITS 3 2 1 0 15 14 13 12 MSB 3 2 1 0 SLOT 15 SLOT 16 256 BITS GAP SLOT 31
SAMPLE PERIOD N+2
SLOT 0 256 BITS 15 14 13 12 MSB 3 2 1 0 15 MSB SLOT 15
FRAME M FRAME M+1
TSI FRS = 0 [DEFAULT 32 SLOTS PER FRAME, 2 SAMPLES PER FRAME SYNC] EXAMPLE SHOWING GAPS BETWEEN FRAMES SLAVE MODE
Figure 9a. FRS = 0, Slave Mode Timing
SAMPLE PERIOD N+1 SAMPLE PERIOD N
SLOT 0 256 BITS SDI OR SDO 3 2 1 0 15 14 13 12 MSB SCLK 512 BITS 512 BITS 3 2 1 0 15 14 13 12 MSB 3 2 1 0 15 14 13 12 MSB SLOT 15 SLOT 16 256 BITS SLOT 31
SAMPLE PERIOD N+2
SLOT 0 256 BITS 3 2 1 0 15 14 MSB SLOT 15
FRAME M FRAME M+1
TSI FRS = 0 [DEFAULT 32 SLOTS PER FRAME, 2 SAMPLES PER FRAME SYNC] EXAMPLE SHOWING NO GAPS BETWEEN FRAMES SLAVE MODE
Figure 9b. FRS = 0, Slave Mode Timing
SAMPLE PERIOD N
SLOT 0 GAP SDI OR SDO 15 14 13 12 MSB SCLK 256 BITS 3 2 1 0 SLOT 15 GAP
SAMPLE PERIOD N+1
SLOT 0 SLOT 15 GAP 15 14 13 12 MSB 3 2 1 0
256 BITS
FRAME M
TSI FRS = 1 [16 SLOTS PER FRAME, 1 SAMPLES PER FRAME SYNC] EXAMPLE SHOWING GAPS BETWEEN FRAMES SLAVE MODE
FRAME M+1
Figure 10a. FRS = 1, Slave Mode Timing
SAMPLE PERIOD N+1 SAMPLE PERIOD N
SLOT 0 SLOT 15 SLOT 0 SLOT 15
SDI OR SDO
3
2
1
0
15 14 13 12 MSB
3
2
1
0
15 14 13 12 MSB
3
2
1
0
15 14 13 12 MSB
SCLK 256 BITS 256 BITS
FRAME M FRAME M+1
TSI FRS = 1 [16 SLOTS PER FRAME, 1 SAMPLES PER FRAME SYNC] EXAMPLE SHOWING NO GAPS BETWEEN FRAMES SLAVE MODE
Figure 10b. FRS = 1, Slave Mode Timing
-18-
REV. 0
AD1843
Modem Data Access Arrangement (DAA) devices are generally differential on the transmit side, and single-ended on the receive side. The DAA transmit input (generally differential) should be connected to the DAC2 output, pins LOUT2LP and LOUT2LN, or LOUT2RP and LOUT2RN. The DAA receive output (generally single-ended) should be connected to one of the ADC line inputs, LINLP or LINRP. See the "APPLICATION CIRCUITS" section below for more detail on the electrical connections. There are several software driver steps that are required to configure the SoundComm codec for use as a modem AFE.
Configure DAC2
Use the ADREN bit in Control Register Address 27 for the ADC right channel, the DAC1EN bit in Control Register Address 27 for DAC1, and the DAC2EN bit in Control Register Address 27 for DAC2.
Typical Configurations
Figure 6 below illustrates example connections between the AD1843 SoundComm codec and other system resources. The rich analog input and output connectivity of the AD1843 allows a wide variety of configuration possibilities. Note that the level of modem, speakerphone and external speaker concurrency is application and DSP resource dependent.
SERIAL INTERFACE
1. Set the DA2FLT bit (Control Register Address 25, Bit 9) to "1," to select the digital modem filter mode. The DAC2 outputs can be used either as differential outputs or single-ended outputs depending on how the pins are connected electrically; no Control Register writes are required to configure the DAC2 outputs as either differential or single-ended. 2. Program LDA2G5:0 (Control Register Address 10, Bits 8 through 13) to "00 0101" (i.e., +4.5 dB) or RDA2G5:0 (Control Register 10, Bits 0 through 5) to "00 0101" (i.e., +4.5 dB), depending on whether the DAA transmit input is connected to the left channel DAC2 output (use LDA2G5:0) or the right channel DAC2 output (use RDA2G5:0). This code establishes the DAC2 nominal analog output swing at 3.156 V p-p single-ended, or 6.312 V p-p differentially. The 3.156 V p-p level is equivalent to 3.17 dBm.
Configure ADC
The AD1843 SoundComm Codec transmits and receives both data and control/status information through its serial port. The AD1843 can be configured as either master or slave of the serial interface. This is selected by using the BM pin. When BM is tied HI, the AD1843 serves as bus master and supplies the frame sync and the serial clock. When BM is tied LO, the AD1843 serves as bus slave and receives the frame sync and the serial clock. The level on BM should not be altered unless the reset pin (RESET) is asserted. The AD1843 has six pins devoted to the serial interface: SDI, SDO, SCLK, SDFS, TSI and TSO. The SDI pin is for serial data input to the AD1843 and the SDO pin is for serial data output from the AD1843. The SCLK pin is the serial interface clock. Communication in and out of the AD1843 requires bits of data to be transmitted after a rising edge of SCLK, and sampled on a falling edge of SCLK. When the AD1843 is bus master (BM pin tied HI), the SCLK frequency driven by the AD1843 will be 12.288 MHz by default, but this can be increased to 16.384 MHz by setting the SCF bit in Control Register 26. When the AD1843 is bus slave (BM pin tied LO), the SCLK frequency driven to the AD1843 may be as high as 24.576 MHz, but must not be any higher than the frequency on the XTALI pin. The SDFS pin is for the serial interface frame sync. When bus master, new frames are marked by a HI pulse driven out on SDFS one serial clock period before the frame begins. When bus slave, new frames must be marked by a LO to HI transition driven in on SDFS one serial clock period before the frame begins, but the transition back from HI to LO may occur at any time provided the HI and LO times of SDFS are at least one SCLK period in duration each. When the AD1843 is bus master, frame size is controlled by the FRS bit in Control Register 26. When FRS is set to "1," each frame is divided into 16 slots of 16 bits. When FRS is reset to "0," each frame is divided into 32 slots of 16 bits. In 32 slot configuration, the second 16 slots of a frame must have slot assignments that are identical to the first 16 slots of the frame; 32 slot configuration is essentially 16 slot configuration with every other SDFS pulse missing. Although these are the frame sizes
1. Set the ADLFLT bit (Control Register Address 25, Bit 0) to "1," or the ADRFLT bit (Control Register Address 25, Bit 1) to "1," to select the digital modem filter mode. Set ADLFLT if the DAA receive output is connected to the AD1843 LINLP input; set ADRFLT if the DAA receive output is connected to the AD1843 LINRP input. Set the LINLSD bit (Control Register Address 28, Bit 0) to "1" if the DAA is connected to the AD1843 LINLP input; set the LINRSD bit (Control Register Address 28, Bit 1) to "1" if the DAA is connected to the AD1843 LINRP input. 2. Program LIG3:0 (Control Register Address 2, Bits 8 through 11) to "0000" (i.e., 0.0 dB) or RIG3:0 (Control Register Address 2, Bits 0 through 3) to "0000" (i.e., 0.0 dB) depending on whether the left or right ADC input channel is being used for the modem function. This code maps an analog input swing of 3.156 V p-p to the full dynamic range of the 16-bit digital sample (i.e., 215). The 3.156 V p-p level is equivalent to 3.17 dBm. Note that if the AD1843 is to be reconfigured dynamically, the affected converter must be powered down before its associated digital filter can be changed. In other words, if the digital filter for the ADC left channel is being changed from audio mode to modem mode, the ADC left channel must be powered down first (using the ADLEN bit in Control Register Address 27).
REV. 0
-19-
AD1843
produced by an AD1843 serving as bus master, an AD1843 serving as bus slave does not actually require these frame sizes. When FRS is set to "1," a slave will operate correctly with any number or fraction of slots, provided there are enough slots for it to complete its necessary communication (see below). When FRS is reset to "0," a slave can also operate correctly with a wide range in the number of slots per frame, however it will automatically retake ownership of the serial interface bus 16 slots after it is first given ownership of the bus in a frame. The nominal minimum number of slots when the AD1843 is configured in slave mode is six. The codec must be supplied with at least 6 x 16 = 96 SCLK periods (both rising and falling edges); SCLK may be gated (i.e., no need to be continuous) between valid slots. While SDFS marks the beginning of frames, AD1843 bus ownership during a frame is controlled by the TSI (Time Slot In) and TSO (Time Slot Out) pins. When bus slave, a level HI on TSI grants the AD1843 bus ownership beginning with the next SCLK period. The TSI pin is monitored only when an AD1843 does not already own the bus; once an AD1843 is given ownership of the bus, the level on TSI is ignored until one SCLK period before bus ownership is relinquished. Bus ownership will last for six slots. Coincident with the final SCLK period of the final slot owned, the AD1843 asserts TSO HI. This allows chaining of AD1843s onto a common serial bus by connecting the TSO pin of one AD1843 to the TSI pin on the next later AD1843 in a chain. In single codec systems where the SoundComm is configured as bus slave, connect the AD1843 SDFS and TSI signals together. When an AD1843 is bus master, its function is identical to that just described for the slave, except a bus master always owns the first six slots and its TSI pin is ignored (but should be tied LO). Whenever an AD1843 does not own the bus, its SDO pin will be three-stated and its SDI pin is ignored. Figures 7 through 10 illustrate the signal, slot, sample and frame relationships for the four basic operating modes of the AD1843 serial interface. The AD1843 requires slots of communication each time it takes ownership of the serial bus. The first slot is used for a Control Word input and a Status Word output. The second slot is used for Control Register write data input and read data output. The remaining slots are used for playback (DAC) data input and capture (ADC) data output, where each channel has an assigned slot. Table II and Figure 11 illustrate these slot assignments. Since the conversion channels of the AD1843 can be programmed to run at different sample rates, a communication mechanism indicates when playback channels request data, when playback data is actually sent to the AD1843, and when transmission of capture data from the AD1843 becomes necessary. This is facilitated by the Control and Status Words located in the first slot. The Control Word indicates which slots in the current frame contain valid playback data. The Status Word indicates if playback data can be sent to the AD1843 during the next frame, and which slots in the current frame contain valid capture data. See the descriptions of the Control Word and the Status Word below for additional detail. Four word FIFO buffers are used on the inputs of each of the DACs to allow data to be transferred in small bursts. This reduces the required response time to playback data requests, and also buffers differences between the frame sync rate and the channel sample rate. The Status Word indicates that playback data can be sent if there is any room in the buffers, thus tending to keep the input buffers full. Underrun flags are available in Control Register 1, which indicate if an input buffer ran out of data. If an underrun occurs, a zero is used in place of the unavailable data. To ensure underruns do not occur, playback data must be sent to the AD1843 within two sample periods after the status word indicates that the DAC FIFO is not full. Note that the DAC Not Full status bits (DA2RQ and DA1RQ in the Status Word Output) are updated immediately (i.e., in the same frame as a valid write to the DAC FIFOs). If the DAC Input Valid Flags (DA2V and DA1V in the Control Word Input) are set (i.e., DAC data is valid) and only one location in the DAC1 and DAC2 input FIFOs is available, then the DA2RQ and DA1RQ status bits will reflect this valid write, and will be reset to "0." This is possible because the DA2V and DA1V bits are in the most significant bits of the Control Word and the DA2RQ and DA1RQ bits are in the least significant bits of the Status Word, and the AD1843 uses this intervening time
Table II. AD1843 Slot Assignment 32 Slot Mode (FRS Reset to "0")
Slot 0 & 16 1 & 17 2 & 18 3 & 19 4 & 20 5 & 21
SDI Pin Control Word Input Control Register Data Input Playback Data Input--DAC1 Left Playback Data Input--DAC1 Right Playback Data Input--DAC2 Left Playback Data Input--DAC2 Right
SDO Pin Status Word Output Control Register Data Output Capture Data Output--ADC Left Capture Data Output--ADC Right Reserved (Unused) Reserved (Unused)
16 Slot Mode (FRS Set to "1")
Slot 0 1 2 3 4 5
SDI Pin Control Word Input Control Register Data Input Playback Data Input--DAC1 Left Playback Data Input--DAC1 Right Playback Data Input--DAC2 Left Playback Data Input--DAC2 Right -20-
SDO Pin Status Word Output Control Register Data Output Capture Data Output--ADC Left Capture Data Output--ADC Right Reserved (Unused) Reserved (Unused) REV. 0
AD1843
interval to update the DAC Not Full status bits. Therefore driver software does not have to make provision for frame-toframe delays between control and status information; the information in each frame is always up to date. The AD1843 supports locking to an external clock which may result in a sample rate that is marginally higher than the nominal audio standard maximum sample rate of 48 kHz. This is necessary since two crystal-based clock sources are never perfectly matched to one another. One is always at a slightly higher frequency. The AD1843 conversion channels have been designed to support sample rates that are up to 2.1% higher than 48 kHz (i.e., 49 kHz), referenced to the AD1843's clock input on XTALI, when all conversion channels are simultaneously running. Even higher rates can be supported when all channels are not running simultaneously. See the "Conversion Rates" section above for additional details. The serial interface must also allow for this higher sample rate with a frame sync (SDFS) rate that is at least as high as the sample rate in 16 slot per frame mode, or half as high as the sample rate in 32 slot per frame mode. When the AD1843 is bus master, the SCLK frequency is either 12.288 MHz or 16.384 MHz, which allows for up to 48 kHz or 64 kHz sampling rates, respectively. The AD1843 Control Registers are read and written by transmitting a read/write request bit along with the Control Register address in the slot 0 Control Word. When a read is requested, the contents of the Control Register addressed is transmitted out during slot 1 of the following frame. When a write is requested, data to be written must be transmitted to the AD1843 in slot 1, and the former contents of the control register are transmitted out during slot 1 of the following frame. Unless otherwise noted, Control Register writes do not take effect until the current round of six communication TDM time slots concludes. Equivalently, unless otherwise noted, Control Register writes do not take effect until the subsequent falling edge of the TSO signal. The following sections describe the bit assignments for all time slots.
TIME SLOT 0 SCLK
TIME SLOT 1
TIME SLOT 2
TIME SLOT 3
TIME SLOT 4
TIME SLOT 5
SDFS
16 BITS
16-BIT STEREO
SDI SDO
IGNORED 3-STATED
CONTROL WORD REGISTER DATA STATUS WORD REGISTER DATA
DAC1 LEFT ADC LEFT
DAC1 RIGHT ADC RIGHT
DAC2 LEFT 0s
DAC2 RIGHT 0s
IGNORED 3-STATED
16-BIT MONO DAC1, DAC2
SDI SDO
IGNORED 3-STATED
CONTROL WORD REGISTER DATA STATUS WORD REGISTER DATA
DAC1 ADC LEFT
DON'T CARE ADC RIGHT
DAC2 0s
DON'T CARE 0s
IGNORED 3-STATED
8-BIT STEREO
SDI SDO
IGNORED 3-STATED
CONTROL WORD REGISTER DATA STATUS WORD REGISTER DATA
DAC1L ADCL
DON'T CARE 0s
DAC1R ADCR
DON'T CARE 0s
DAC2L 0s
DON'T CARE
DAC2R 0s
DON'T CARE
IGNORED 3-STATED
8-BIT MONO DAC1, DAC2
SDI SDO
IGNORED 3-STATED
CONTROL WORD REGISTER DATA STATUS WORD REGISTER DATA
DAC1 ADCL
DON'T CARE 0s
DON'T CARE ADCR 0s
DAC2 0s
DON'T CARE
DON'T CARE 0s
IGNORED 3-STATED
THE DIAGRAM ABOVE IS INTENDED TO BE ILLUSTRATIVE OF THE MORE COMMONLY USED CONFIGURATIONS. ADC LEFT, ADC RIGHT, DAC1 AND DAC2 CAN BE INDIVIDUALLY ASSIGNED TO 8-BIT OR 16-BIT SAMPLE WIDTH, AND DAC1 AND DAC2 CAN BE INDIVIDUALLY ASSIGNED TO STEREO OR MONO MODE. EACH AD1843 CONSUMES 6 TMD SLOTS (REQUIRING 96 SCLK PERIODS), LEAVING 10 TDM SLOTS UNUSED IN A 16 SLOT FRAME. NOTE THAT BECAUSE THE SERIAL INTERFACE AND THE ADC AND DACS ARE IN GENERAL ASYNCHRONOUS, NOT EVERY CAPTURE OR PLAYBACK TIME SLOT WILL CONTAIN VALID DATA. THE HOST PROCESSOR MUST POLL THE STATUS WORD TO DETERMINE WHETHER THE ADC DATA IS VALID AND WHETHER THE DAC IS REQUESTING ADDITIONAL SAMPLES.
Figure 11. AD1843 Slot Assignments
REV. 0
-21-
AD1843
SERIAL INTERFACE INPUT
Note that the references to slot numbers are valid only when the AD1843 is configured in master mode. For slave mode, bus ownership does not necessarily start on Slot 0.
Control Word Input (Slot 0 or 16) Data 15 res Data 7 R/W Data 14 res Data 6 res Data 13 res Data 5 res Data 12 res Data 4 IA4 Data 11 res Data 3 IA3 Data 10 res Data 2 IA2 Data 9 DA2V Data 1 IA1 Data 8 DA1V Data 0 IA0
DA2V
DAC2 Input Valid Flag. When in DAC2 stereo mode, setting this bit to "1" indicates that slots 4 and 5 contain valid playback data for the left and right channels of DAC2, respectively. When in DAC2 mono mode, setting this bit to "1" indicates that slot 4 contains valid playback data for both left and right channels of DAC2. Slot 5 is ignored in DAC2 mono mode. When this bit is reset to "0," data in slots 4 and 5 is ignored. This bit is ignored if the AD1843 did not request data for DAC2 in the last frame (see the DA2RQ bit in the Status Word Output). DAC1 Input Valid Flag. When in DAC1 stereo mode, setting this bit to "1" indicates that slots 2 and 3 contain valid playback data for the left and right channels of DAC1, respectively. When in DAC1 mono mode, setting this bit to "1" indicates that slot 2 contains valid playback data for both left and right channels of DAC1. Slot 3 is ignored in DAC1 mono mode. When this bit is reset to "0," data in slots 2 and 3 is ignored. This bit is ignored if the AD1843 did not request data for DAC1 in the last frame (see the DA1RQ bit in the Status Word Output). Read/Write Request. Either a read from or a write to a Control Register occurs every frame. Setting this bit to "1" indicates a Control Register read while resetting this bit to "0" initiates a Control Register write. Bits IA4:0 define the Control Register address. When reading, the contents of the Control Register addressed are transmitted during slot 1 of the following frame. When writing, the data to be written is taken from slot 1 and the former contents of the Control Register are transmitted during slot 1 of the following frame. Control Register address for read or write. Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits.
DA1V
R/W
IA4:0 res
Control Register Write Data Input (Slot 1 or 17) Data 15 DATA15 Data 7 DATA7 Data 14 DATA14 Data 6 DATA6 Data 13 DATA13 Data 5 DATA5 Data 12 DATA12 Data 4 DATA4 Data 11 DATA11 Data 3 DATA3 Data 10 DATA10 Data 2 DATA2 Data 9 DATA9 Data 1 DATA1 Data 8 DATA8 Data 0 DATA0
Format for the input data to written to the addressed Control Register. MSB is first.
DAC1 Left Sample Input (Slot 2 or 18) Data 15 DATA15 Data 7 DATA7 Data 14 DATA14 Data 6 DATA6 Data 13 DATA13 Data 5 DATA5 Data 12 DATA12 Data 4 DATA4 Data 11 DATA11 Data 3 DATA3 Data 10 DATA10 Data 2 DATA2 Data 9 DATA9 Data 1 DATA1 Data 8 DATA8 Data 0 DATA0
Data format may be 8-bit unsigned linear PCM, 16-bit signed linear PCM, 8-bit -Law companded, or 8-bit A-Law companded. MSB is first. DATA7:0 are ignored in 8-bit linear or 8-bit companded modes.
-22-
REV. 0
AD1843
DAC1 Right Sample Input (Slot 3 or 19) Data 15 DATA15 Data 7 DATA7 Data 14 DATA14 Data 6 DATA6 Data 13 DATA13 Data 5 DATA5 Data 12 DATA12 Data 4 DATA4 Data 11 DATA11 Data 3 DATA3 Data 10 DATA10 Data 2 DATA2 Data 9 DATA9 Data 1 DATA1 Data 8 DATA8 Data 0 DATA0
Data format may be 8-bit unsigned linear PCM, 16-bit signed linear PCM, 8-bit -Law companded, or 8-bit A-Law companded. MSB is first. DATA7:0 are ignored in 8-bit linear or 8-bit companded modes.
DAC2 Left Sample Input (Slot 4 or 20) Data 15 DATA15 Data 7 DATA7 Data 14 DATA14 Data 6 DATA6 Data 13 DATA13 Data 5 DATA5 Data 12 DATA12 Data 4 DATA4 Data 11 DATA11 Data 3 DATA3 Data 10 DATA10 Data 2 DATA2 Data 9 DATA9 Data 1 DATA1 Data 8 DATA8 Data 0 DATA0
Data format may be 8-bit unsigned linear PCM, 16-bit signed linear PCM, 8-bit -Law companded, or 8-bit A-Law companded. MSB is first. DATA7:0 are ignored in 8-bit linear or 8-bit companded modes.
DAC2 Right Sample Input (Slot 5 or 21) Data 15 DATA15 Data 7 DATA7 Data 14 DATA14 Data 6 DATA6 Data 13 DATA13 Data 5 DATA5 Data 12 DATA12 Data 4 DATA4 Data 11 DATA11 Data 3 DATA3 Data 10 DATA10 Data 2 DATA2 Data 9 DATA9 Data 1 DATA1 Data 8 DATA8 Data 0 DATA0
Data format may be 8-bit unsigned linear PCM, 16-bit signed linear PCM, 8-bit -Law companded, or 8-bit A-Law companded. MSB is first. DATA7:0 are ignored in 8-bit linear or 8-bit companded modes.
REV. 0
-23-
AD1843
SERIAL INTERFACE OUTPUT Status Word Output (Slot 0 or 16) Data 15 res Data 7 res Data 14 res Data 6 res Data 13 res Data 5 res Data 12 res Data 4 res Data 11 res Data 3 res Data 10 res Data 2 res Data 9 ADRV Data 1 DA2RQ Data 8 ADLV Data 0 DA1RQ
ADRV ADLV DA2RQ DA1RQ res
Right ADC Channel Output Valid Flag. Set to "1" if slot 3 (or 19) contains valid right ADC capture data. Left ADC Channel Output Valid Flag. Set to "1" if slot 2 (or 18) contains valid left ADC capture data. DAC2 Input Request Flag. Set to "1" if DAC2 is enabled and its four word stereo input buffer is not full. DAC1 Input Request Flag. Set to "1" if DAC1 is enabled and its four word stereo input buffer is not full. Reserved for future expansion. Read back as "0." Should be ignored to ensure future compatibility.
Control Register Data Output (Slots 1 or 17) Data 15 DATA15 Data 7 DATA7 Data 14 DATA14 Data 6 DATA6 Data 13 DATA13 Data 5 DATA5 Data 12 DATA12 Data 4 DATA4 Data 11 DATA11 Data 3 DATA3 Data 10 DATA10 Data 2 DATA2 Data 9 DATA9 Data 1 DATA1 Data 8 DATA8 Data 0 DATA0
Contents of Control Register addressed in previous frame.
ADC Left Sample Output (Slots 2 or 18) Data 15 DATA15 Data 7 DATA7 Data 14 DATA14 Data 6 DATA6 Data 13 DATA13 Data 5 DATA5 Data 12 DATA12 Data 4 DATA4 Data 11 DATA11 Data 3 DATA3 Data 10 DATA10 Data 2 DATA2 Data 9 DATA9 Data 1 DATA1 Data 8 DATA8 Data 0 DATA0
Data format may be 8-bit unsigned linear PCM, 16-bit signed linear PCM, 8-bit -Law companded, or 8-bit A-Law companded. MSB is first. DATA7:0 are ignored in 8-bit linear or 8-bit companded modes.
ADC Right Sample Output (Slots 3 or 19) Data 15 DATA15 Data 7 DATA7 Data 14 DATA14 Data 6 DATA6 Data 13 DATA13 Data 5 DATA5 Data 12 DATA12 Data 4 DATA4 Data 11 DATA11 Data 3 DATA3 Data 10 DATA10 Data 2 DATA2 Data 9 DATA9 Data 1 DATA1 Data 8 DATA8 Data 0 DATA0
Data format may be 8-bit unsigned linear PCM, 16-bit signed linear PCM, 8-bit -Law companded, or 8-bit A-Law companded. MSB is first. DATA7:0 are ignored in 8-bit linear or 8-bit companded modes.
-24-
REV. 0
AD1843
Reserved Output (Slots 4 or 20) Data 15 res Data 7 res Data 14 res Data 6 res Data 13 res Data 5 res Data 12 res Data 4 res Data 11 res Data 3 res Data 10 res Data 2 res Data 9 res Data 1 res Data 8 res Data 0 res
res
Reserved for future expansion. Read back as "0." Should be ignored to ensure future compatibility.
Reserved Output (Slots 5 or 21) Data 15 res Data 7 res Data 14 res Data 6 res Data 13 res Data 5 res Data 12 res Data 4 res Data 11 res Data 3 res Data 10 res Data 2 res Data 9 res Data 1 res Data 8 res Data 0 res
res
Reserved for future expansion. Read back as "0." Should be ignored to ensure future compatibility.
CONTROL REGISTERS Control Register Architecture
All Control Registers are cleared to their default state when either the RESET pin or the PWRDWN pin is asserted. All conversion related Control Registers (Addresses 1-15, 25 and 27) are cleared to defaults when the conversion resources of the AD1843 are powered down through the PDNI bit in Control Register Address 28. Control Registers which manage analog DAC gain/attenuation (Addresses 3-10) are cleared to defaults whenever the resource they manage is powered down. Finally, the three clock generator sample phase shift Control Registers (Addresses 18, 21 and 24) are cleared to defaults whenever their associated clock generator is powered down. Writes to Control Registers are blocked until a clearing condition no longer exists. Writes to Control Registers are also blocked immediately after the RESET pin or the PWRDWN pin is asserted until the AD1843's internal clocks have settled, which is indicated by the INIT bit in Control Register Address 0. Control Registers may always be read. Figures 12 and 13 associate the Control Registers to the AD1843 Block Diagram.
REV. 0
-25-
AD1843
LINLP LINLN LINRP LINRN MICL MICR AUX1L AUX1R AUX2L AUX2R AUX3L AUX3R MIN
CRA2 20 dB S E CRA2 L E PGA C T O R
AD1843
ADC
MUTE MOUT CRA8 MUTE LOUT1L LOUT1R DRIVER CRA8 MUTE HPOUTL HPOUTC HPOUTR LOUT2LP LOUT2LN LOUT2RP LOUT2RN SUML SUMR
GN/AT MUTE CRA8
GN/AT MUTE CRA6
GN/AT MUTE CRA5
GN/AT MUTE CRA4
GN/AT MUTE CRA7
CRAX = CONTROL REGISTER ADDRESS "X"





GN/AT MUTE CRA9
DAC
MUTE CRA8
GN/AT = GAIN/ ATTENUATION
GN/AT MUTE CRA3
GN/AT MUTE CRA10
LEFT RIGHT DAC
VOLTAGE REFERENCE
4 AAFILTL AAFILTR VREF CMOUT FILTL FILTR GNDA
Figure 12. AD1843 Control Registers Associated with Block Diagram
Address 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Register Description Codec Status and Revision Identification (Read Only) Channel Status Flags Input Control--ADC Source and Gain/Attenuation Mix Control--DAC2 to Mixer Mix Control--Auxiliary 1 to Mixer Mix Control--Auxiliary 2 to Mixer Mix Control--Auxiliary 3 to Mixer Mix Control--Mic to Mixer Mix/Misc. Control--Mono In to Mixer and Miscellaneous Settings Output Control--DAC1 Analog Gain/Attenuation Output Control--DAC2 Analog Gain/Attenuation Output Control--DAC1 Digital Attenuation Output Control--DAC2 Digital Attenuation Digital Mix Control--ADC to DAC1 Digital Mix Control--ADC to DAC2 Codec Configuration--Channel Sample Rate Source Select
-26-
REV. 0
AD1843
XTALI XTALO SYNC3 SYNC2 SYNC1 CONV3 CONV2 CONV1 BIT3 BIT2 BIT1
CLOCK GENERATION CRA15, CRA16, CRA17, CRA18, CRA19, CRA20, CRA21, CRA22, CRA23, CRA24
CLKOUT
CRAX = CONTROL REGISTER ADDRESS "X"
AD1843
S E L E C T O R LEFT RIGHT
CONTROL AND STATUS REGISTERS CRA0, CRA1, CRA25, CRA26, CRA27, CRA28
CRA25
S E L E C T O R
/A LAW CRA26
ADC
SCLK SDFS
CRA25 D I G I T A L LEFT CRA11 RIGHT FIFO /A LAW CRA26 ATTN MUTE CRA14 DAC1 I N T E R F A C E
ATTN MUTE CRA13
SDI SDO BM CS TSO TSI 2 XCTL [1:0] PDMNFT RESET PWRDWN
ATTN MUTE
CRA25
CRA25
MUTE ATTN CRA12 FIFO
/A LAW CRA26
DAC2
3 VCC
8 GNDD
9 VDD
Figure 13. AD1843 Control Registers Associated with Block Diagram
Address 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Register Description Clock Generator 1 Control--Mode Clock Generator 1 Control--Sample Rate Clock Generator 1 Control--Sample Phase Shift Clock Generator 2 Control--Mode Clock Generator 2 Control--Sample Rate Clock Generator 2 Control--Sample Phase Shift Clock Generator 3 Control--Mode Clock Generator 3 Control--Sample Rate Clock Generator 3 Control--Sample Phase Shift Codec Configuration--Digital Filter and Mode Select Codec Configuration--Serial Interface Codec Configuration--Channel Power Down Codec Configuration--Fundamental Settings Reserved for Future Expansion Reserved for Future Expansion Reserved for Future Expansion
REV. 0
-27-
AD1843
Address 0 Data 15 INIT Data 7 res Data 14 PDNO Data 6 res Codec Status and Revision Identification Data 13 res Data 5 res Data 12 res Data 4 res Data 11 res Data 3 ID3 Data 10 res Data 2 ID2 Data 9 res Data 1 ID1 Data 8 res Data 0 ID0
This register is read only. INIT Clock Initialization Flag. This bit is set to "1" if the AD1843's internal clocks generated from the crystal input pin XTALI have not yet stabilized. When set to "1," Control Registers may be read if the AD1843 is configured as a Bus Slave (see the definition for the BM pin), but Control Register writes will be blocked. This bit is set to a "1" after the RESET pin is asserted, or when the power-down sequence (initiated by asserting the PWRDWN pin) has completed. The bit is reset to "0" usually within 400 to 800 sec after the RESET or the PWRDWN pin is deasserted, depending upon parasitic capacitance on the XTALI and XTALO pins outside the AD1843. Because these parasitics are a function of the board design and layout, the exact amount of time required for the crystal to start to oscillate, and the internal clocks to stabilize cannot be known exactly in advance. Converter Power-Down Flag. This bit is set to "1" if the AD1843 conversion resources are powered down, or are in the process of entering or exiting power down. Conversion resources are all resources in the AD1843 with the exception of the three clock generators and the serial interface. Conversion power-down is entered if either the power-down pin (PWRDWN) is driven LO, or if the PDNI (Converter Power Down) bit in Control Register Address 28 is asserted. Power down is exited only if both pin (PWRDWN) and bit (PDNI) are deasserted. When this bit is set to "1," Control Registers may still be read, but only Control Registers 16-24, 26 and 28 which do not manage conversion resources may be written. See the "Power Management" section for further details. This bit is set to "1" immediately after a reset since the PDNI bit is initially asserted after a reset. Revision Identification. These bits define the revision level of the AD1843. The first version of the AD1843 is "0001." Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 1100 0000 0000 0001 (C001 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; or when the PWRDWN pin is asserted LO.
Address 1 Data 15 res Data 7 res Data 14 res Data 6 res Channel Status Flags Data 13 res Data 5 res Data 12 res Data 4 res Data 11 res Data 3 OVR1 Data 10 res Data 2 OVR0 Data 9 SU2 Data 1 OVL1 Data 8 SU1 Data 0 OVL0
PDNO
ID3:0 res
This register is cleared to all "0" after any read or write access. SU2 DAC2 Sample Underrun. When set to "1," this bit indicates that the four word stereo input buffer for DAC pair 2 ran out of samples. If this occurs, zeros are used in place of the unavailable data. This bit is "sticky" and is cleared after any write to this register. It is also cleared by powering down DAC2 (see the DA2EN bit in Control Register Address 27). DAC1 Sample Underrun. When set to "1," this bit indicates that the four word stereo input buffer for DAC pair 1 ran out of samples. If this occurs, zeros are used in place of the unavailable data. This bit is "sticky" and is cleared after any write to this register. It is also cleared by powering down DAC1 (see the DA1EN bit in Control Register Address 27). ADC Right Overrange Detect. These bits record the largest output magnitude on the ADC right channel and are cleared to "00" after any write to this register. The peak amplitude as recorded by these bits is "sticky," i.e., the largest output magnitude recorded by these bits will persist until these bits are explicitly cleared. They are also cleared by powering down the ADC right channel (see the ADREN bit in Control Register Address 27). 00 = Greater than -1.0 dB underrange 01 = Between -1.0 dB and 0 dB underrange 10 = Between 0 dB and 1 dB overrange 11 = Greater than 1.0 dB overrange -28- REV. 0
SU1
OVR1:0
AD1843
OVL1:0 ADC Left Overrange Detect. These bits record the largest output magnitude on the ADC left channel and are cleared to "00" after any write to this register. The peak amplitude as recorded by these bits is "sticky," i.e., the largest output magnitude recorded by these bits will persist until these bits are explicitly cleared. They are also cleared by powering down the ADC left channel (see the ADLEN bit in Control Register Address 27). 00 = Greater than -1.0 dB underrange 01 = Between -1.0 dB and 0 dB underrange 10 = Between 0 dB and 1 dB overrange 11 = Greater than 1.0 dB overrange Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 0000 0000 0000 0000 (0000 hex). Cleared to default when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; or when the PDNO bit in Control Register Address 0 is set to "1" (all conversions disabled).
res
Address 2 Data 15 LSS2 Data 7 RSS2 Data 14 LSS1 Data 6 RSS1
Input Control--ADC Source and Gain/Attenuation Data 13 LSS0 Data 5 RSS0 Data 12 LMGE Data 4 RMGE Data 11 LIG3 Data 3 RIG3 Data 10 LIG2 Data 2 RIG2 Data 9 LIG1 Data 1 RIG1 Data 8 LIG0 Data 0 RIG0
LSS2:0
Left ADC Source Select 000 = Left Line Input 001 = Left Mic Input 010 = Left Auxiliary 1 Input 011 = Left Auxiliary 2 Input 100 = Left Auxiliary 3 Input 101 = Mono Input 110 = Left DAC1 Output 111 = Left DAC2 Output Left ADC Microphone Gain Enable 0 = 0 dB Gain 1 = +20 dB Gain Left ADC Input Gain. Least significant bit represents +1.5 dB. 0000 = 0.0 dB Gain 1111 = +22.5 dB Gain Right ADC Source Select 000 = Right Line Input 001 = Right Mic Input 010 = Right Auxiliary 1 Input 011 = Right Auxiliary 2 Input 100 = Right Auxiliary 3 Input 101 = Mono Input 110 = Right DAC1 Output 111 = Right DAC2 Output Right ADC Microphone Gain Enable 0 = 0 dB Gain 1 = +20 dB Gain Right ADC Input Gain. Least significant bit represents +1.5 dB. 0000 = 0.0 dB Gain 1111 = +22.5 dB Gain Initial Default State after Reset: 0000 0000 0000 0000 (0000 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; or when the PDNO bit in Control Register 0 is set to "1" (all conversions disabled).
LMGE
LIG3:0
RSS2:0
RMGE
RIG3:0
REV. 0
-29-
AD1843
Address 3 Data 15 LD2MM Data 7 RD2MM Data 14 res Data 6 res Mix Control--DAC2 to Mixer Data 13 res Data 5 res Data 12 LD2M4 Data 4 RD2M4 Data 11 LD2M3 Data 3 RD2M3 Data 10 LD2M2 Data 2 RD2M2 Data 9 LD2M1 Data 1 RD2M1 Data 8 LD2M0 Data 0 RD2M0
LD2MM
Left DAC2 Mix Mute 0 = Mix Enabled 1 = Mix Muted Left DAC2 Mix Gain/Attenuation Select. Least significant bit represents -1.5 dB. Referred to 2.0 V p-p DAC2 output level. 00000 = +12.0 dB Gain 01000 = 0.0 dB 11111 = -34.5 dB Attenuation Right DAC2 Mix Mute 0 = Mix Enabled 1 = Mix Muted Right DAC2 Mix Gain/Attenuation Select. Least significant bit represents -1.5 dB. Referred to 2.0 V p-p DAC2 output level. 00000 = +12.0 dB Gain 01000 = 0.0 dB 11111 = -34.5 dB Attenuation Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 1000 1000 1000 1000 (8888 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; when the PDNO bit in Control Register Address 0 is set to "1" (all conversions disabled); or when the DDMEN bit (DAC2 to DAC1 analog mix disabled), the DA2EN bit (DAC2 powered down), or the ANAEN bit (analog channels powered down) in Control Register Address 27 is reset to "0."
LD2M4:0
RD2MM
RD2M4:0
res
Address 4 Data 15 LX1MM Data 7 RX1MM Data 14 res Data 6 res
Mix Control--Auxiliary 1 to DAC1 Data 13 res Data 5 res Data 12 LX1M4 Data 4 RX1M4 Data 11 LX1M3 Data 3 RX1M3 Data 10 LX1M2 Data 2 RX1M2 Data 9 LX1M1 Data 1 RX1M1 Data 8 LX1M0 Data 0 RX1M0
LX1MM
Left Auxiliary 1 Mix Mute 0 = Mix Enabled 1 = Mix Muted Left Auxiliary 1 Mix Gain/Attenuation Select. Least significant bit represents -1.5 dB. Referred to 2.0 V p-p DAC1 output level. 00000 = +12.0 dB Gain 01000 = 0.0 dB 11111 = -34.5 dB Attenuation Right Auxiliary 1 Mix Mute 0 = Mix Enabled 1 = Mix Muted Right Auxiliary 1 Mix Gain/Attenuation Select. Least significant bit represents -1.5 dB. Referred to 2.0 V p-p DAC1 output level. 00000 = +12.0 dB Gain 01000 = 0.0 dB 11111 = -34.5 dB Attenuation
LX1M4:0
RX1MM
RX1M4:0
-30-
REV. 0
AD1843
res Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 1000 1000 1000 1000 (8888 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; when the PDNO bit in Control Register Address 0 is set to "1" (all conversions disabled); or when the AAMEN bit (analog input to analog mix disabled), or the ANAEN bit (analog channels powered down) in Control Register Address 27 is reset to "0."
Address 5 Data 15 LX2MM Data 7 RX2MM Data 14 res Data 6 res Mix Control--Auxiliary 2 to Mixer Data 13 res Data 5 res Data 12 LX2M4 Data 4 RX2M4 Data 11 LX2M3 Data 3 RX2M3 Data 10 LX2M2 Data 2 RX2M2 Data 9 LX2M1 Data 1 RX2M1 Data 8 LX2M0 Data 0 RX2M0
LX2MM
Left Auxiliary 2 Mix Mute 0 = Mix Enabled 1 = Mix Muted Left Auxiliary 2 Mix Gain/Attenuation Select. Least significant bit represents -1.5 dB. Referred to 2.0 V p-p DAC1 output level. 00000 = +12.0 dB Gain 01000 = 0.0 dB 11111 = -34.5 dB Attenuation Right Auxiliary 2 Mix Mute 0 = Mix Enabled 1 = Mix Muted Right Auxiliary 2 Mix Gain/Attenuation Select. Least significant bit represents -1.5 dB. Referred to 2.0 V p-p DAC1 output level. 00000 = +12.0 dB Gain 01000 = 0.0 dB 11111 = -34.5 dB Attenuation Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 1000 1000 1000 1000 (8888 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; when the PDNO bit in Control Register Address 0 is set to "1" (all conversions disabled); or when the AAMEN bit (analog input to analog mix disabled), or the ANAEN bit (analog channels powered down) in Control Register Address 27 is reset to "0."
LX2M4:0
RX2MM
RX2M4:0
res
Address 6 Data 15 LX3MM Data 7 RX3MM Data 14 res Data 6 res
Mix Control--Auxiliary 3 to Mixer Data 13 res Data 5 res Data 12 LX3M4 Data 4 RX3M4 Data 11 LX3M3 Data 3 RX3M3 Data 10 LX3M2 Data 2 RX3M2 Data 9 LX3M1 Data 1 RX3M1 Data 8 LX3M0 Data 0 RX3M0
LX3MM
Left Auxiliary 3 Mix Mute 0 = Mix Enabled 1 = Mix Muted Left Auxiliary 3 Mix Gain/Attenuation Select. Least significant bit represents -1.5 dB. Referred to 2.0 V p-p DAC1 output level. 00000 = +12.0 dB Gain 01000 = 0.0 dB 11111 = -34.5 dB Attenuation
LX3M4:0
REV. 0
-31-
AD1843
RX3MM Right Auxiliary 3 Mix Mute 0 = Mix Enabled 1 = Mix Muted Right Auxiliary 3 Mix Gain/Attenuation Select. Least significant bit represents -1.5 dB. Referred to 2.0 V p-p DAC1 output level. 00000 = +12.0 dB Gain 01000 = 0.0 dB 11111 = -34.5 dB Attenuation Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 1000 1000 1000 1000 (8888 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; when the PDNO bit in Control Register Address 0 is set to "1" (all conversions disabled); or when the AAMEN bit (analog input to analog mix disabled), or the ANAEN bit (analog channels powered down) in Control Register Address 27 is reset to "0."
Address 7 Data 15 LMCMM Data 7 RMCMM Data 14 res Data 6 res Mix Control--Mic to Mixer Data 13 res Data 5 res Data 12 LMCM4 Data 4 RMCM4 Data 11 LMCM3 Data 3 RMCM3 Data 10 LMCM2 Data 2 RMCM2 Data 9 LMCM1 Data 1 RMCM1 Data 8 LMCM0 Data 0 RMCM0
RX3M4:0
res
LMCMM
Left Microphone Mix Mute 0 = Mix Enabled 1 = Mix Muted Left Microphone Mix Gain/Attenuation Select. Least significant bit represents -1.5 dB. Referred to 2.0 V p-p DAC1 output level. 00000 = +12.0 dB Gain 01000 = 0.0 dB 11111 = -34.5 dB Attenuation Right Microphone Mix Mute 0 = Mix Enabled 1 = Mix Muted Right Microphone Mix Gain/Attenuation Select. Least significant bit represents -1.5 dB. Referred to 2.0 V p-p DAC1 output level. 00000 = +12.0 dB Gain 01000 = 0.0 dB 11111 = -34.5 dB Attenuation Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 1000 1000 1000 1000 (8888 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; when the PDNO bit in Control Register Address 0 is set to "1" (all conversions disabled); or when the AAMEN bit (analog input to analog mix disabled), or the ANAEN bit (analog channels powered down) in Control Register Address 27 is reset to "0."
LMCM4:0
RMCMM
RMCM4:0
res
Address 8 Data 15 MNMM Data 7 ALLMM Data 14 res Data 6 MNOM
Mix/Miscellaneous Control--Mono In to Mixer and Miscellaneous Settings Data 13 res Data 5 HPOM Data 12 MNM4 Data 4 HPOS Data 11 MNM3 Data 3 SUMM Data 10 MNM2 Data 2 res Data 9 MNM1 Data 1 DAC2T Data 8 MNM0 Data 0 DAC1T
MNMM
Mono Input Mix Mute 0 = Mix Enabled 1 = Mix Muted
-32-
REV. 0
AD1843
MNM4:0 Left and Right Mono Mix Gain/Attenuation Select. Least significant bit represents -1.5 dB. 00000 = +12.0 dB Gain 01000 = 0.0 dB 11111 = -34.5 dB Attenuation All Mix Mute. Mutes all mixing (MIC, AUX1, AUX2, AUX3, and DAC2) to left and right DAC1, overriding the independent mute control bits in Control Register Addresses 3 through 8. 0 = Mix to DAC1 Enabled 1 = Mix to DAC1 Muted Mono Output Mute 0 = Mono Output Enabled 1 = Mono Output Muted Headphone Output Mute (Left and Right) 0 = Headphone Output Enabled 1 = Headphone Output Muted Headphone Output Voltage Swing (Left and Right) 0 = 2 volts peak-to-peak 1 = 4 volts peak-to-peak Sum Left and Right Mute. Mutes mixing from SUML and SUMR pins to DAC1. 0 = SUML and SUMR Mix to DAC1 Enabled 1 = SUML and SUMR Mix to DAC1 Muted DAC2 Gain/Attenuation Change Timing. This bit controls when changes to the DAC2 gain/attenuation setting (Control Register 10) take effect. When set to "1," changes take effect immediately. When reset to "0," changes are delayed until either the output level on DAC2 crosses zero (midscale), or until after a 10 to 12 ms time-out period is reached. Delaying gain/attenuation changes until zero crossings reduces instantaneous output voltage changes, which reduces audible "clicks." 0 = Gain/Attenuation Changes Applied on Signal Zero Crossing or After a 10-12 ms Time-Out 1 = Gain/Attenuation Changes Applied Immediately DAC1 Gain/Attenuation Change Timing. This bit controls when changes to the DAC1 gain/attenuation setting (Control Register 9) take effect. When set to "1," changes take effect immediately. When reset to "0," changes are delayed until either the output level on DAC1 crosses zero (midscale), or until after a 10 to 12 ms time-out period is reached. Delaying gain/attenuation changes until zero crossings reduces instantaneous output voltage changes, which reduces audible "clicks." 0 = Gain/Attenuation Changes Applied on Signal Zero Crossing or After a 10-12 ms Time-Out 1 = Gain/Attenuation Changes Applied Immediately Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 1000 1000 0110 1000 (8868 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; or when the PDNO bit in Control Register Address 0 is set to "1" (all conversions powered down). The MSB half (Data 15 through Data 8) of this Control Register is cleared to default and cannot be written to also when: the AAMEN bit (analog input to analog mix disabled), or the ANAEN bit (analog channels powered down) in Control Register 27 is reset to "0."
Address 9 Data 15 LDA1GM Data 7 RDA1GM Data 14 res Data 6 res Output Control--DAC1 Analog Gain/Attenuation Data 13 LDA1G5 Data 5 RDA1G5 Data 12 LDA1G4 Data 4 RDA1G4 Data 11 LDA1G3 Data 3 RDA1G3 Data 10 LDA1G2 Data 2 RDA1G2 Data 9 LDA1G1 Data 1 RDA1G1 Data 8 LDA1G0 Data 0 RDA1G0
ALLMM
MNOM
HPOM
HPOS
SUMM
DAC2T
DAC1T
res
LDA1GM
Left DAC1 Analog Mute 0 = Left DAC1 Enabled 1 = Left DAC1 Muted
REV. 0
-33-
AD1843
LDA1G5:0 Left DAC1 Analog/Digital Gain/Attenuation Select. Least significant bit represents -1.5 dB. Note that the implementation of the attenuation is mixed analog and digital. 0 00000 = +12.0 dB: +12.0 dB Analog, +0.0 dB Digital 0 01000 = 0.0 dB: +0.0 dB Analog, +0.0 dB Digital 0 11111 = -34.5 dB: -34.5 dB Analog, +0.0 dB Digital 1 00000 = -36.0 dB: -34.5 dB Analog, -1.5 dB Digital 1 11111 = -82.5 dB: -34.5 dB Analog, -48.0 dB Digital Right DAC1 Analog Mute 0 = Right DAC1 Enabled 1 = Right DAC1 Muted Right DAC1 Analog/Digital Gain/Attenuation Select. Least significant bit represents -1.5 dB. Note that the implementation of the attenuation is mixed analog and digital. 0 00000 = +12.0 dB: +12.0 dB Analog, +0.0 dB Digital 0 01000 = 0.0 dB: +0.0 dB Analog, +0.0 dB Digital 0 11111 = -34.5 dB: -34.5 dB Analog, +0.0 dB Digital 1 00000 = -36.0 dB: -34.5 dB Analog, -1.5 dB Digital 1 11111 = -82.5 dB: -34.5 dB Analog, -48.0 dB Digital Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 1000 1000 1000 1000 (8888 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; when the PDNO bit in Control Register Address 0 is set to "1" (all conversions disabled); when the ANAEN bit in Control Register Address 27 is reset to "0" (analog channels powered down); or when the DA1EN bit in Control Register Address 27 is reset to "0" (DAC1 disabled).
Address 10 Data 15 LDA2GM Data 7 RDA2GM Data 14 res Data 6 res Output Control--DAC2 Analog Gain/Attenuation Data 13 LDA2G5 Data 5 RDA2G5 Data 12 LDA2G4 Data 4 RDA2G4 Data 11 LDA2G3 Data 3 RDA2G3 Data 10 LDA2G2 Data 2 RDA2G2 Data 9 LDA2G1 Data 1 RDA2G1 Data 8 LDA2G0 Data 0 RDA2G0
RDA1GM
RDA1G5:0
res
LDA2GM
Left DAC2 Analog Mute 0 = Left DAC2 Enabled 1 = Left DAC2 Muted Left DAC2 Analog/Digital Gain/Attenuation Select. Least significant bit represents -1.5 dB. Note that the implementation of the attenuation is mixed analog and digital. 0 00000 = +12.0 dB: +12.0 dB Analog, +0.0 dB Digital 0 01000 = 0.0 dB: +0.0 dB Analog, +0.0 dB Digital 0 11111 = -34.5 dB: -34.5 dB Analog, +0.0 dB Digital 1 00000 = -36.0 dB: -34.5 dB Analog, -1.5 dB Digital 1 11111 = -82.5 dB: -34.5 dB Analog, -48.0 dB Digital Right DAC2 Analog Mute 0 = Right DAC2 Enabled 1 = Right DAC2 Muted Right DAC2 Analog/Digital Gain/Attenuation Select. Least significant bit represents -1.5 dB. Note that the implementation of the attenuation is mixed analog and digital. 0 00000 = +12.0 dB: +12.0 dB Analog, +0.0 dB Digital 0 01000 = 0.0 dB: +0.0 dB Analog, +0.0 dB Digital 0 11111 = -34.5 dB: -34.5 dB Analog, +0.0 dB Digital 1 00000 = -36.0 dB: -34.5 dB Analog, -1.5 dB Digital 1 11111 = -82.5 dB: -34.5 dB Analog, -48.0 dB Digital Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 1000 1000 1000 1000 (8888 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; when the PDNO bit in Control Register Address 0 is set to "1" (all conversions disabled); when the ANAEN bit in Control Register Address 27 is reset to "0" (analog channels powered down); or when the DA2EN bit in Control Register Address 27 is reset to "0" (DAC2 disabled). -34- REV. 0
LDA2G5:0
RDA2GM
RDA2G5:0
res
AD1843
Address 11 Data 15 LDA1AM Data 7 RDA1AM Data 14 res Data 6 res Output Control--DAC1 Digital Attenuation Data 13 LDA1A5 Data 5 RDA1A5 Data 12 LDA1A4 Data 4 RDA1A4 Data 11 LDA1A3 Data 3 RDA1A3 Data 10 LDA1A2 Data 2 RDA1A2 Data 9 LDA1A1 Data 1 RDA1A1 Data 8 LDA1A0 Data 0 RDA1A0
LDA1AM
Left DAC1 Digital Mute 0 = Left DAC1 Enabled 1 = Left DAC1 Muted Left DAC1 Digital Attenuation Select. Least significant bit represents -1.5 dB. 000000 = +0.0 dB Attenuation 111111 = -94.5 dB Attenuation Right DAC1 Digital Mute 0 = Right DAC1 Enabled 1 = Right DAC1 Muted Right DAC1 Digital Attenuation Select. Least significant bit represents -1.5 dB. 000000 = +0.0 dB Attenuation 111111 = -94.5 dB Attenuation Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 0000 0000 0000 0000 (0000 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; or when the PDNO bit in Control Register Address 0 is set to "1" (all conversions disabled).
LDA1A5:0
RDA1AM
RDA1A5:0
res
Address 12 Data 15 LDA2AM Data 7 RDA2AM Data 14 res Data 6 res
Output Control--DAC2 Digital Attenuation Data 13 LDA2A5 Data 5 RDA2A5 Data 12 LDA2A4 Data 4 RDA2A4 Data 11 LDA2A3 Data 3 RDA2A3 Data 10 LDA2A2 Data 2 RDA2A2 Data 9 LDA2A1 Data 1 RDA2A1 Data 8 LDA2A0 Data 0 RDA2A0
LDA2AM
Left DAC2 Digital Mute 0 = Left DAC2 Enabled 1 = Left DAC2 Muted Left DAC2 Digital Attenuation Select. Least significant bit represents -1.5 dB. 000000 = +0.0 dB Attenuation 111111 = -94.5 dB Attenuation Right DAC2 Digital Mute 0 = Right DAC2 Enabled 1 = Right DAC2 Muted Right DAC2 Digital Attenuation Select. Least significant bit represents -1.5 dB. 000000 = +0.0 dB Attenuation 111111 = -94.5 dB Attenuation Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 0000 0000 0000 0000 (0000 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; or when the PDNO bit in Control Register Address 0 is set to "1" (all conversions disabled).
LDA2A5:0
RDA2AM
RDA2A5:0
res
REV. 0
-35-
AD1843
Address 13 Data 15 LAD1MM Data 7 RAD1MM Data 14 res Data 6 res Digital Mix Control--ADC to DAC1 Data 13 LAD1M5 Data 5 RAD1M5 Data 12 LAD1M4 Data 4 RAD1M4 Data 11 LAD1M3 Data 3 RAD1M3 Data 10 LAD1M2 Data 2 RAD1M2 Data 9 LAD1M1 Data 1 RAD1M1 Data 8 LAD1M0 Data 0 RAD1M0
Restrictions: ADC and DAC channel mixed must receive conversion rate from same Clock Generator. Serial interface must be running at a rate greater than or equal to the ADC/DAC conversion rate. For bus master: SDFS frequency ADC/DAC conversion rate. For bus slave: TSI frequency ADC/DAC conversion rate. LAD1MM Digital Mix of Left ADC Output with Left DAC1 Input Mute. 0 = Mix Enabled 1 = Mix Muted LAD1M5:0 Digital Mix of Left ADC Output with Left DAC1 Input Attenuation Select. Least significant bit represents -1.5 dB. 000000 = +0.0 dB Attenuation 111110 = -93.0 dB Attenuation 111111 = Full Mute RAD1MM Digital Mix of Right ADC Output with Right DAC1 Input Mute. 0 = Mix Enabled 1 = Mix Muted Digital Mix of Right ADC Output with Right DAC1 Input Attenuation Select. Least significant bit represents -1.5 dB. 000000 = +0.0 dB Attenuation 111110 = -93.0 dB Attenuation 111111 = Full Mute Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 1000 0000 1000 0000 (8080 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; or when the PDNO bit in Control Register Address 0 is set to "1" (all conversions disabled).
Digital Mix Control--ADC to DAC2 Data 14 res Data 6 res Data 13 LAD2M5 Data 5 RAD2M5 Data 12 LAD2M4 Data 4 RAD2M4 Data 11 LAD2M3 Data 3 RAD2M3 Data 10 LAD2M2 Data 2 RAD2M2 Data 9 LAD2M1 Data 1 RAD2M1 Data 8 LAD2M0 Data 0 RAD2M0
RAD1M5:0
res
Address 14 Data 15 LAD2MM Data 7 RAD2MM
Restrictions: ADC and DAC channel mixed must receive conversion rate from same Clock Generator. Serial interface must be running at a rate greater than or equal to the ADC/DAC conversion rate. For bus master: SDFS frequency ADC/DAC conversion rate. For bus slave: TSI frequency ADC/DAC conversion rate. LAD2MM Digital Mix of Left ADC Output with Left DAC2 Input Mute. 0 = Mix Enabled 1 = Mix Muted LAD2M5:0 Digital Mix of Left ADC Output with Left DAC2 Input Attenuation Select. Least significant bit represents -1.5 dB. 000000 = +0.0 dB Attenuation 111110 = -93.0 dB Attenuation 111111 = Full Mute RAD2MM Digital Mix of Right ADC Output with Right DAC2 Input Mute. 0 = Mix Enabled 1 = Mix Muted RAD2M5:0 Digital Mix of Right ADC Output with Right DAC2 Input Attenuation Select. Least significant bit represents -1.5 dB. 000000 = +0.0 dB Attenuation 111110 = -93.0 dB Attenuation 111111 = Full Mute res Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 1000 0000 1000 0000 (8080 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; or when the PDNO bit in Control Register Address 0 is set to "1" (all conversions disabled).
-36-
REV. 0
AD1843
Address 15 Data 15 res Data 7 res Data 14 res Data 6 res Codec Configuration--Channel Sample Rate Source Select Data 13 res Data 5 res Data 12 res Data 4 res Data 11 DA2C1 Data 3 ADRC1 Data 10 DA2C0 Data 2 ADRC0 Data 9 DA1C1 Data 1 ADLC1 Data 8 DA1C0 Data 0 ADLC0
DA2C1:0
DAC2 Sample Rate Source. Selects the sample rate clock source for left and right channels of DAC2. 00 = Conversion Sample Rate is 48.0 kHz 01 = Conversion Sample Rate is from Clock Generator 1 10 = Conversion Sample Rate is from Clock Generator 2 11 = Conversion Sample Rate is from Clock Generator 3 DAC1 Sample Rate Source. Selects the sample rate clock source for left and right channels of DAC1. 00 = Conversion Sample Rate is 48.0 kHz 01 = Conversion Sample Rate is from Clock Generator 1 10 = Conversion Sample Rate is from Clock Generator 2 11 = Conversion Sample Rate is from Clock Generator 3 ADC Right Sample Rate Source. Selects the sample rate clock source for the right ADC channel. 00 = Conversion Sample Rate is 48.0 kHz 01 = Conversion Sample Rate is from Clock Generator 1 01 = Conversion Sample Rate is from Clock Generator 2 11 = Conversion Sample Rate is from Clock Generator 3 ADC Left Sample Rate Source. Selects the sample rate clock source for the left ADC channel. 00 = Conversion Sample Rate is 48.0 kHz 01 = Conversion Sample Rate is from Clock Generator 1 10 = Conversion Sample Rate is from Clock Generator 2 11 = Conversion Sample Rate is from Clock Generator 3 Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 0000 0000 0000 0000 (0000 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; or when the PDNO bit in Control Register Address 0 is set to "1" (all conversions disabled).
DA1C1:0
ADRC1:0
ADLC1:0
res
Address 16 Data 15 C1REF Data 7 C1M7 Data 14 C1VID Data 6 C1M6
Clock Generator 1 Control--Mode Data 13 C1PLLG Data 5 C1M5 Data 12 C1P200 Data 4 C1M4 Data 11 C1X8/7 Data 3 C1M3 Data 10 C1C128 Data 2 C1M2 Data 9 res Data 1 C1M1 Data 8 res Data 0 C1M0
C1REF
Clock Generator 1 Reference Select. Selects the fundamental clock reference used by Clock Generator 1 to synthesize its "Conversion" (sample) and "Bit" clock rates. 0 = Clocks are referenced to the input on pin XTALI (crystal or master clock input). Sample clock frequency is defined by Control Register Address 17 and Bit C1X8/7. Sample clock phase may be shifted by Control Register Address 18. Bit clock frequency is defined by bits C1M7:0 and C1P200. Bit C1VID is ignored. 1 = Clocks are referenced to the input on pin SYNC1 (Sync 1 Clock Input). Sample clock frequency is defined by C1VID and C1M7:0. Sample clock phase is locked to SYNC1 and cannot be shifted. Bit clock frequency is defined by bits C1M7:0 and C1P200 unless in Video Lock Mode (C1VID set to "1") where the Bit clocks are not produced. Control Register Addresses 17, 18 and the C1X8/7 bit are ignored.
REV. 0
-37-
AD1843
C1VID Clock Generator 1 Video Lock Mode. This bit is used to select between lock modes when the Clock Generator 1 is referenced to SYNC1 (C1REF set to "1"). This bit should be reset to "0" if C1REF is reset to "0." When reset to "0," Clock Generator 1 is in normal lock mode where the Conversion clock will be frequency and phase locked to SYNC1, and the Bit clock frequency is chosen using bits C1M7:0 and C1P200. When set to "1," Clock Generator 1 is in video lock mode, where the Conversion clock frequency is selected using bits C1M7:0, and a Bit clock is not produced. Clock Generator 1 PLL Loop Gain Select. If reset to "0," this bit selects finite PLL loop gain, and if set to "1," this bit selects infinite PLL loop gain. This bit should nominally be reset to "0." Setting it to "1" may enhance the PLL's ability to lock to certain SYNC1 inputs, but it may also increase conversion noise. Clock Generator 1 Bit Clock +200 Frequency Modifier. When set to "1," the Bit clock driven out of pin BIT1 will have a frequency that is 200 Hertz greater than the frequency selected through bit C1M7:0. This bit is ignored when in Video Lock Mode (C1VID set to "1"). C1P200 only modifies the bit clock driven on the BIT1 pin. Clock Generator 1 Conversion Clock 8/7 Frequency Modifier. When set to "1," the Conversion clock frequency generated will be 8/7 times the value programmed in Control Register Address 17. This bit is ignored when clocks are referenced to SYNC1 (C1REF set to "1"). Clock Generator 1 Conversion Clock Pin (CONV1) Frequency Select. When set to "1," the frequency driven on to the CONV1 pin will be 128 times the conversion rate. When reset to "0," the frequency driven on to the CONV1 pin will be the same as the conversion rate. C1C128 only modifies the clock frequency driven on the CONV1 pin. Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Clock Generator 1 Clock Rate Modifiers. When not in Video Lock Mode (C1REF and C1VID are not both set to "1"): Bits C1M7:0 select the Bit clock rate which will be driven out on pin BIT1. Using the following table, the least significant four bits (C1M3:0) are programmed to the desired Bit clock rate, and the most significant four bits (C1M7:4) must be programmed to the Conversion clock rate established using Control Register Address 17 and the C1X8/7 bit. If the actual Conversion clock differs from the value selected by C1M7:4, then the resultant Bit clock will be different from the rate selected by the ratio of the C1M7:4 selected rate to the Control Register Address 17 plus the C1X8/7 bit actual rate. C1M3:0 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Bit Clock Frequency* 2,400 Hertz 4,800 7,200 9,600 12,000 14,400 16,800 19,200 21,600 24,000 26,400 28,800 Reserved Reserved Reserved See Below C1M7:4 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Conversion (Sample) Rate 7,200 Hertz 8,400 9,000 9,600 11,200 12,000 12,800 7,200 x 8/7 9,000 x 8/7 9,600 x 8/7 12,000 x 8/7 Reserved Reserved Reserved Reserved See Below
C1PLLG
C1P200
C1X8/7
C1C128
res C1M7:0
*Bit clock frequencies listed will be increased by 200 Hz if C1P200 is set to "1."
When C1M7:4 is programmed to "1111" and C1M3:0 is programmed to "1111," the Bit clock rate will be 128 times the Conversion rate. When in Video Lock Mode (C1REF and C1VID are both set to "1"): Bits C1M7:0 select the Conversion clock rate. The most significant bit (C1M7) must be set to indicate the type of video lock, either NTSC or PAL. For an NTSC lock, C1M7 must be reset to "0," and the SYNC1 pin must receive the NTSC sync frequency (525 lines/frame x 30 Hz x 1000/1001 frame rate 15.734 kHz). For a PAL lock, C1M7 must be set to "1," and the SYNC1 pin must receive the PAL sync frequency (625 lines/frame x 25 Hz frame rate 15.625 kHz). The next three most significant bits (C1M6:4) select a desired base Conversion clock rate, and the least significant four bits (C1M3:0) select a divisor. The Conversion clock created by Clock Generator 1 will be the base divided by the divisor. The following tables list the possible choices for base and divisor.
-38-
REV. 0
AD1843
NTSC Divisor 1 2 3 4 5 6 7 8 PAL Divisor 1 2 3 4 5 6 7 8 (C1M7 = "0"): (C1M3:0) (0000) (0001) (0010) (0011) (0100) (0101) (0110) (0111) (C1M7 = "1"): (C1M3:0) (0000) (0001) (0010) (0011) (0100) (0101) (0110) (0111) Base Frequency In Hz (C1M6:4) 48,000 32,000 44,100 (000) (001) (010) Yes Yes Yes Yes Yes Yes Yes No Yes Yes Yes Yes Yes Yes Yes Yes No Yes No No Yes Yes No Yes Base Frequency In Hz (C1M6:4) 48,000 32,000 44,100 (000) (001) (010) Yes Yes Yes Yes Yes Yes Yes No Yes Yes Yes Yes Yes Yes Yes Yes No Yes Yes No Yes Yes No Yes 44,100 x 2/3 (011) Yes Yes No Yes Yes No No No 48,000* (100) Yes Yes Yes Yes Yes Yes Yes Yes 44,056 (101) Yes Yes Yes Yes Yes Yes Yes Yes
*When C1M6:4 = "100," base frequency is 48,000 Hz only if NTSC sync rate is increased by 1001/1000, or is exactly 15.750 kHz. 44,100 x 2/3 (011) Yes Yes No Yes Yes No No No
Initial default state after reset: 0000 0000 1111 1111 (00FF hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; or when the PWRDWN pin is asserted LO.
Address 17 Data 15 C1C15 Data 7 C1C7 Data 14 C1C14 Data 6 C1C6 Clock Generator 1 Control--Sample Rate Data 13 C1C13 Data 5 C1C5 Data 12 C1C12 Data 4 C1C4 Data 11 C1C11 Data 3 C1C3 Data 10 C1C10 Data 2 C1C2 Data 9 C1C9 Data 1 C1C1 Data 8 C1C8 Data 0 C1C0
C1C15:0
Clock Generator 1 Conversion (Sample) Rate Select. Defines the conversion rate produced by Clock Generator 1 when not referenced to the SYNC1 pin (Control Register Address 16 Bit 15 [C1REF]). One LSB represents exactly one Hertz, assuming a 24.576 MHz clock input on the XTALI pin. Usable range is 4 kHz (0x0FA0) to 54 kHz (0xD2F0). Initial default state after reset: 1011 1011 1000 0000 (BB80 hex), which is 48 kHz, assuming a 24.576 MHz clock input on the XTALI pin. Cleared to default and cannot be written to when: the RESET pin is asserted LO; or when the PWRDWN pin is asserted LO.
Address 18 Data 15 res Data 7 C1P7 Data 14 res Data 6 C1P6
Clock Generator 1 Control--Sample Phase Shift Data 13 res Data 5 C1P5 Data 12 res Data 4 C1P4 Data 11 res Data 3 C1P3 Data 10 res Data 2 C1P2 Data 9 res Data 1 C1P1 Data 8 C1PD Data 0 C1P0
C1PD
C1P7:0
Clock Generator 1 Phase Shift Direction. This bit controls the direction of sample clock phase shift. 0 = Phase Advance 1 = Phase Retard Clock Generator 1 Phase Shift Magnitude. These bits control the magnitude of sample clock phase shift. One LSB represents exactly 0.12 degrees. LSBs are processed and decremented at a rate of 3.072 MHz (assuming a 24.576 MHz clock input on the XTALI pin). When this register is read, it indicates any phase advance/retard remaining to be processed as of the beginning of slot 0 if bus master, or when TSI was received if bus slave. This register may be -39-
REV. 0
AD1843
overwritten even if all previously programmed phase advance/retard has not been processed. When written, the contents of this register (just prior to the write) are transmitted during slot 1 of the following frame (as with all Control Register writes). res Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 0000 0000 0000 0000 (0000 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; or when the G1EN bit in Control Register Address 28 is reset to "0" (clock generator 1 disabled).
Address 19 Data 15 C2REF Data 7 C2M7 Data 14 C2VID Data 6 C2M6
Clock Generator 2 Control--Mode Data 13 C2PLLG Data 5 C2M5 Data 12 C2P200 Data 4 C2M4 Data 11 C2X8/7 Data 3 C2M3 Data 10 C2C128 Data 2 C2M2 Data 9 res Data 1 C2M1 Data 8 res Data 0 C2M0
C2REF
Clock Generator 2 Reference Select. Selects the fundamental clock reference used by Clock Generator 2 to synthesize its "Conversion" (sample) and "Bit" clock rates. 0 = Clocks are referenced to the input on pin XTALI (crystal or master clock input). Sample clock frequency is defined by Control Register Address 20 and Bit C2X8/7. Sample clock phase may be shifted by Control Register Address 21. Bit clock frequency is defined by bits C2M7:0 and C2P200. Bit C2VID is ignored. 1 = Clocks are referenced to the input on pin SYNC2 (Sync 2 Clock Input). Sample clock frequency is defined by C2VID and C2M7:0. Sample clock phase is locked to SYNC2 and cannot be shifted. Bit clock frequency is defined by bits C2M7:0 and C2P200 unless in Video Lock Mode (C2VID set to "1") where the Bit clocks are not produced. Control Register Addresses 17, 18 and the C2X8/7 bit are ignored.
C2VID
Clock Generator 2 Video Lock Mode. This bit is used to select between lock modes when the Clock Generator 2 is referenced to SYNC2 (C2REF set to "1"). This bit should be reset to "0" if C2REF is reset to "0." When reset to "0," Clock Generator 2 is in normal lock mode where the Conversion clock will be frequency and phase locked to SYNC2, and the Bit clock frequency is chosen using bits C2M7:0 and C2P200. When set to "1," Clock Generator 2 is in video lock mode, where the Conversion clock frequency is selected using bits C2M7:0, and a Bit clock is not produced. Clock Generator 2 PLL Loop Gain Select. If reset to "0," this bit selects finite PLL loop gain, and if set to "1," this bit selects infinite PLL loop gain. This bit should nominally be reset to "0." Setting it to "1" may enhance the PLL's ability to lock to certain SYNC2 inputs, but it may also increase conversion noise. Clock Generator 2 Bit Clock +200 Frequency Modifier. When set to "1," the Bit clock driven out of pin BIT2 will have a frequency that is 200 Hertz greater than the frequency selected through bit C2M7:0. This bit is ignored when in Video Lock Mode (C2VID set to "1"). C2P200 only modifies the bit clock driven on the BIT2 pin. Clock Generator 2 Conversion Clock 8/7 Frequency Modifier. When set to "1," the Conversion clock frequency generated will be 8/7 times the value programmed in Control Register Address 20. This bit is ignored when clocks are referenced to SYNC2 (C2REF set to "1"). Clock Generator 2 Conversion Clock Pin (CONV2) Frequency Select. When set to "1," the frequency driven on to the CONV2 pin will be 128 times the conversion rate. When reset to "0," the frequency driven on to the CONV2 pin will be the same as the conversion rate. C2C128 only modifies the clock frequency driven on the CONV2 pin. Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Clock Generator 2 Clock Rate Modifiers. When not in Video Lock Mode (C2REF and C2VID are not both set to "1"): Bits C2M7:0 select the Bit clock rate which will be driven out on pin BIT2. Using the following table, the least significant four bits (C2M3:0) are programmed to the desired Bit clock rate, and the most significant four bits
C2PLLG
C2P200
C2X8/7
C2C128
res C2M7:0
-40-
REV. 0
AD1843
(C2M7:4) must be programmed to the Conversion clock rate established using Control Register Address 20 and the C2X8/7 bit. If the actual Conversion clock differs from the value selected by C2M7:4, then the resultant Bit clock will be different from the rate selected by the ratio of the C2M7:4 selected rate to the Control Register Address 20 plus the C2X8/7 bit actual rate. C2M3:0 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Bit Clock Frequency* 2,400 Hertz 4,800 7,200 9,600 12,000 14,400 16,800 19,200 21,600 24,000 26,400 28,800 Reserved Reserved Reserved See Below C2M7:4 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Conversion (Sample) Rate 7,200 Hertz 8,400 9,000 9,600 11,200 12,000 12,800 7,200 x 8/7 9,000 x 8/7 9,600 x 8/7 12,000 x 8/7 Reserved Reserved Reserved Reserved See Below
*Bit clock frequencies listed will be increased by 200 Hz if C2P200 is set to "1."
When C2M7:4 is programmed to "1111" and C2M3:0 is programmed to "1111," the Bit clock rate will be 128 times the Conversion rate. When in Video Lock Mode (C2REF and C2VID are both set to "1"): Bits C2M7:0 select the Conversion clock rate. The most significant bit (C2M7) must be set to indicate the type of video lock, either NTSC or PAL. For an NTSC lock, C2M7 must be reset to "0," and the SYNC2 pin must receive the NTSC sync frequency (525 lines/frame x 30 Hz x 1000/1001 frame rate 15.734 kHz). For a PAL lock, C2M7 must be set to "1," and the SYNC2 pin must receive the PAL sync frequency (625 lines/frame x 25 Hz frame rate 15.625 kHz). The next three most significant bits (C2M6:4) select a desired base Conversion clock rate, and the least significant four bits (C2M3:0) select a divisor. The Conversion clock created by Clock Generator 2 will be the base divided by the divisor. The following tables list the possible choices for base and divisor. NTSC Divisor 1 2 3 4 5 6 7 8 PAL Divisor 1 2 3 4 5 6 7 8 (C2M7 = "0"): (C2M3:0) (0000) (0001) (0010) (0011) (0100) (0101) (0110) (0111) (C2M7 = "1"): (C2M3:0) (0000) (0001) (0010) (0011) (0100) (0101) (0110) (0111) Base Frequency In Hz (C2M6:4) 48,000 32,000 44,100 (000) (001) (010) Yes Yes Yes Yes Yes Yes Yes No Yes Yes Yes Yes Yes Yes Yes Yes No Yes No No Yes Yes No Yes Base Frequency In Hz (C2M6:4) 48,000 32,000 44,100 (000) (001) (010) Yes Yes Yes Yes Yes Yes Yes No Yes Yes Yes Yes Yes Yes Yes Yes No Yes Yes No Yes Yes No Yes 44,100 x 2/3 (011) Yes Yes No Yes Yes No No No 48,000* (100) Yes Yes Yes Yes Yes Yes Yes Yes 44,056 (101) Yes Yes Yes Yes Yes Yes Yes Yes
*When C2M6:4 = "100," base frequency is 48,000 Hz only if NTSC sync rate is increased by 1001/1000, or is exactly 15.750 kHz.
44,100 x 2/3 (011) Yes Yes No Yes Yes No No No
Initial default state after reset: 0000 0000 1111 1111 (00FF hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; or when the PWRDWN pin is asserted LO.
REV. 0
-41-
AD1843
Address 20 Data 15 C2C15 Data 7 C2C7 Data 14 C2C14 Data 6 C2C6 Clock Generator 2 Control--Sample Rate Data 13 C2C13 Data 5 C2C5 Data 12 C2C12 Data 4 C2C4 Data 11 C2C11 Data 3 C2C3 Data 10 C2C10 Data 2 C2C2 Data 9 C2C9 Data 1 C2C1 Data 8 C2C8 Data 0 C2C0
C2C15:0
Clock Generator 2 Conversion (Sample) Rate Select. Defines the conversion rate produced by Clock Generator 2 when not referenced to the SYNC2 pin (Control Register Address 19 Bit 15 [C2REF]). One LSB represents exactly one Hertz, assuming a 24.576 MHz clock input on the XTALI pin. Usable range is 4 kHz (0x0FA0) to 54 kHz (0xD2F0). Initial default state after reset: 1011 1011 1000 0000 (BB80 hex), which is 48 kHz, assuming a 24.576 MHz clock input on the XTALI pin. Cleared to default and cannot be written to when: the RESET pin is asserted LO; or when the PWRDWN pin is asserted LO.
Address 21 Data 15 res Data 7 C2P7 Data 14 res Data 6 C2P6
Clock Generator 2 Control--Sample Phase Shift Data 13 res Data 5 C2P5 Data 12 res Data 4 C2P4 Data 11 res Data 3 C2P3 Data 10 res Data 2 C2P2 Data 9 res Data 1 C2P1 Data 8 C2PD Data 0 C2P0
C2PD
Clock Generator 2 Phase Shift Direction. This bit controls the direction of sample clock phase shift. 0 = Phase Advance 1 = Phase Retard Clock Generator 2 Phase Shift Magnitude. These bits control the magnitude of sample clock phase shift. One LSB represents exactly 0.12 degrees. LSBs are processed and decremented at a rate of 3.072 MHz (assuming a 24.576 MHz clock input on the XTALI pin). When this register is read, it indicates any phase advance/retard remaining to be processed as of the beginning of slot 0 if bus master, or when TSI was received if bus slave. This register may be overwritten even if all previously programmed phase advance/retard has not been processed. When written, the contents of this register (just prior to the write) are transmitted during slot 1 of the following frame (as with all Control Register writes). Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 0000 0000 0000 0000 (0000 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; or when the G2EN bit in Control Register Address 28 is reset to "0" (clock generator 2 disabled).
C2P7:0
res
Address 22 Data 15 C3REF Data 7 C3M7 Data 14 C3VID Data 6 C3M6
Clock Generator 3 Control--Mode Data 13 C3PLLG Data 5 C3M5 Data 12 C3P200 Data 4 C3M4 Data 11 C3X8/7 Data 3 C3M3 Data 10 C3C128 Data 2 C3M2 Data 9 res Data 1 C3M1 Data 8 res Data 0 C3M0
C3REF
Clock Generator 3 Reference Select. Selects the fundamental clock reference used by Clock Generator 3 to synthesize its "Conversion" (sample) and "Bit" clock rates. 0 = Clocks are referenced to the input on pin XTALI (crystal or master clock input). Sample clock frequency is defined by Control Register Address 23 and Bit C3X8/7. Sample clock phase may be shifted by Control Register Address 24. Bit clock frequency is defined by bits C3M7:0 and C3P200. Bit C3VID is ignored. -42- REV. 0
AD1843
1 = Clocks are referenced to the input on pin SYNC3 (Sync 3 Clock Input). Sample clock frequency is defined by C3VID and C3M7:0. Sample clock phase is locked to SYNC3 and cannot be shifted. Bit clock frequency is defined by bits C3M7:0 and C3P200 unless in Video Lock Mode (C3VID set to "1") where the Bit clocks are not produced. Control Register Addresses 23, 24 and the C3X8/7 bits are ignored. C3VID Clock Generator 3 Video Lock Mode. This bit is used to select between lock modes when the Clock Generator 3 is referenced to SYNC3 (C3REF set to "1"). This bit should be reset to "0" if C3REF is reset to "0." When reset to "0," Clock Generator 3 is in normal lock mode where the Conversion clock will be frequency and phase locked to SYNC3, and the Bit clock frequency is chosen using bits C3M7:0 and C3P200. When set to "1," Clock Generator 3 is in video lock mode, where the Conversion clock frequency is selected using bits C3M7:0, and a Bit clock is not produced. Clock Generator 3 PLL Loop Gain Select. If reset to "0," this bit selects finite PLL loop gain, and if set to "1," this bit selects infinite PLL loop gain. This bit should nominally be reset to "0." Setting it to "1" may enhance the PLL's ability to lock to certain SYNC3 inputs, but it may also increase conversion noise. Clock Generator 3 Bit Clock +200 Frequency Modifier. When set to "1," the Bit clock driven out of pin BIT3 will have a frequency that is 200 Hertz greater than the frequency selected through bit C3M7:0. This bit is ignored when in Video Lock Mode (C3VID set to "1"). C3P200 only modifies the bit clock driven on the BIT3 pin. Clock Generator 3 Conversion Clock 8/7 Frequency Modifier. When set to "1," the Conversion clock frequency generated will be 8/7 times the value programmed in Control Register Address 23. This bit is ignored when clocks are referenced to SYNC3 (C3REF set to "1"). Clock Generator 3 Conversion Clock Pin (CONV3) Frequency Select. When set to "1," the frequency driven on to the CONV3 pin will be 128 times the conversion rate. When reset to "0," the frequency driven on to the CONV3 pin will be the same as the conversion rate. C3C128 only modifies the clock frequency driven on the CONV3 pin. Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Clock Generator 3 Clock Rate Modifiers. When not in Video Lock Mode (C3REF and C3VID are not both set to "1"): Bits C3M7:0 select the Bit clock rate which will be driven out on pin BIT3. Using the following table, the least significant four bits (C3M3:0) are programmed to the desired Bit clock rate, and the most significant four bits (C3M7:4) must be programmed to the Conversion clock rate established using Control Register Address 23 and the C3X8/7 bit. If the actual Conversion clock differs from the value selected by C3M7:4, then the resultant Bit clock will be different from the rate selected by the ratio of the C3M7:4 selected rate to the Control Register Address 23 plus the C3X8/7 bit actual rate. C3M3:0 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Bit Clock Frequency* 2,400 Hertz 4,800 7,200 9,600 12,000 14,400 16,800 19,200 21,600 24,000 26,400 28,800 Reserved Reserved Reserved See Below C3M7:4 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Conversion (Sample) Rate 7,200 Hertz 8,400 9,000 9,600 11,200 12,000 12,800 7,200 x 8/7 9,000 x 8/7 9,600 x 8/7 12,000 x 8/7 Reserved Reserved Reserved Reserved See Below
C3PLLG
C3P200
C3X8/7
C3C128
res C3M7:0
*Bit clock frequencies listed will be increased by 200 Hz if C3P200 is set to "1."
When C3M7:4 is programmed to "1111" and C3M3:0 is programmed to "1111," the Bit clock rate will be 128 times the Conversion rate.
REV. 0
-43-
AD1843
When in Video Lock Mode (C3REF and C3VID are both set to "1"): Bits C3M7:0 select the Conversion clock rate. The most significant bit (C3M7) must be set to indicate the type of video lock, either NTSC or PAL. For an NTSC lock, C3M7 must be reset to "0," and the SYNC3 pin must receive the NTSC sync frequency (525 lines/frame x 30 Hz x 1000/1001 frame rate 15.734 kHz). For a PAL lock, C3M7 must be set to "1," and the SYNC3 pin must receive the PAL sync frequency (625 lines/frame x 25 Hz frame rate 15.625 kHz). The next three most significant bits (C3M6:4) select a desired base Conversion clock rate, and the least significant four bits (C3M3:0) select a divisor. The Conversion clock created by Clock Generator 3 will be the base divided by the divisor. The following tables list the possible choices for base and divisor. NTSC Divisor 1 2 3 4 5 6 7 8 PAL Divisor 1 2 3 4 5 6 7 8 (C3M7 = "0"): (C3M3:0) (0000) (0001) (0010) (0011) (0100) (0101) (0110) (0111) (C3M7 = "1"): (C3M3:0) (0000) (0001) (0010) (0011) (0100) (0101) (0110) (0111) Base Frequency In Hz (C3M6:4) 48,000 32,000 44,100 (000) (001) (010) Yes Yes Yes Yes Yes Yes Yes No Yes Yes Yes Yes Yes Yes Yes Yes No Yes No No Yes Yes No Yes Base Frequency In Hz (C3M6:4) 48,000 32,000 44,100 (000) (001) (010) Yes Yes Yes Yes Yes Yes Yes No Yes Yes Yes Yes Yes Yes Yes Yes No Yes Yes No Yes Yes No Yes 44,100 x 2/3 (011) Yes Yes No Yes Yes No No No 48,000* (100) Yes Yes Yes Yes Yes Yes Yes Yes 44,056 (101) Yes Yes Yes Yes Yes Yes Yes Yes
*When C3M6:4 = "100," base frequency is 48,000 Hz only if NTSC sync rate is increased by 1001/1000, or is exactly 15.570 kHz.
44,100 x 2/3 (011) Yes Yes No Yes Yes No No No
Initial default state after reset: 0000 0000 1111 1111 (00FF hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; or when the PWRDWN pin is asserted LO.
Address 23 Data 15 C3C15 Data 7 C3C7 Data 14 C3C14 Data 6 C3C6
Clock Generator 3 Control--Sample Rate Data 13 C3C13 Data 5 C3C5 Data 12 C3C12 Data 4 C3C4 Data 11 C3C11 Data 3 C3C3 Data 10 C3C10 Data 2 C3C2 Data 9 C3C9 Data 1 C3C1 Data 8 C3C8 Data 0 C3C0
C3C15:0
Clock Generator 3 Conversion (Sample) Rate Select. Defines the conversion rate produced by Clock Generator 3 when not referenced to the SYNC3 pin (Control Register Address 22 Bit 15 [C3REF]). One LSB represents exactly one Hertz, assuming a 24.576 MHz clock input on the XTALI pin. Usable range is 4 kHz (0x0FA0) to 54 kHz (0xD2F0). Initial default state after reset: 1011 1011 1000 0000 (BB80 hex), which is 48 kHz, assuming a 24.576 MHz clock input on the XTALI pin. Cleared to default and cannot be written to when: the RESET pin is asserted LO; or when the PWRDWN pin is asserted LO.
-44-
REV. 0
AD1843
Address 24 Data 15 res Data 7 C3P7 Data 14 res Data 6 C3P6 Clock Generator 3 Control--Sample Phase Shift Data 13 res Data 5 C3P5 Data 12 res Data 4 C3P4 Data 11 res Data 3 C3P3 Data 10 res Data 2 C3P2 Data 9 res Data 1 C3P1 Data 8 C3PD Data 0 C3P0
C3PD
Clock Generator 3 Phase Shift Direction. This bit controls the direction of sample clock phase shift. 0 = Phase Advance 1 = Phase Retard Clock Generator 3 Phase Shift Magnitude. These bits control the magnitude of sample clock phase shift. One LSB represents exactly 0.12 degrees. LSBs are processed and decremented at a rate of 3.072 MHz (assuming a 24.576 MHz clock input on the XTALI pin). When this register is read, it indicates any phase advance/retard remaining to be processed as of the beginning of slot 0 if bus master, or when TSI was received if bus slave. This register may be overwritten even if all previously programmed phase advance/retard has not been processed. When written, the contents of this register (just prior to the write) are transmitted during slot 1 of the following frame (as with all Control Register writes). Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 0000 0000 0000 0000 (0000 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; or when the G3EN bit in Control Register Address 28 is reset to "0" (clock generator 3 disabled).
C3P7:0
res
Address 25 Data 15 DRSFLT Data 7 DAADR1 Data 14 DAMIX Data 6 DAADR0
Codec Configuration--Digital Filter and Mode Select Data 13 res Data 5 DAADL1 Data 12 res Data 4 DAADL0 Data 11 res Data 3 res Data 10 res Data 2 res Data 9 DA2FLT Data 1 ADRFLT Data 8 DA1FLT Data 0 ADLFLT
Restrictions: Modem filter should not be selected when channel sample rate is above 24 kHz. DRSFLT Digital Resampler Filter Mode. DAC2 is sacrificed so that the remaining four channels (left ADC, right ADC, left and right DAC1) have sufficient resources to realize the more stringent resampling filter requirements. See below for filter specifications. (Note: Digital resampling can be done without using the resampling filters but performance is not as optimal.) This bit can be altered only if all channels (DAC1, DAC2, ADL, and ADR) are powered down. Note that this bit enables the digital resampler filters, but does not enable the digital resampler data pathways. Use the DAADR1:0 and DAADL1:0 bits to enable the resampler data pathways. 0 = Audio/Modem Filter Modes (Defined by DA1FLT, DA2FLT, ADLFLT and ADRFLT) 1 = Digital Resampler Filter Mode (DA1FLT, DA2FLT, ADLFLT and ADRFLT filter selections are ignored). DAC Digital Mix Enable. When set to "1," DAC1 and DAC2 are mixed at the output of the digital interpolation filter. Left and right channels are still separated, but DAC1 and DAC2 outputs are identical. This bit can be altered only if both DAC1 and DAC2 are powered down. 0 = Digital Mix Disabled 1 = Digital Mix Enabled DAC2 (Left and Right Channels) Digital Filter Select and Analog Output Swing Select. Digital filter selected is overridden when DRSFLT is set to "1." See below for filter specifications. This bit can be altered only if DAC2 is powered down. 0 = Digital Audio Filter. Nominal analog swing is 2.000 V p-p when output level is +0.0 dB (see Control Register Address 10). 1 = Digital Modem Filter. Nominal analog swing is 3.156 V p-p when output level is +4.5 dB (see Control Register Address 10).
DAMIX
DA2FLT
REV. 0
-45-
AD1843
DA1FLT DAC1 (Left and Right Channels) Digital Filter Select. This bit is overridden when DRSFLT is set to "1." See below for filter specifications. This bit can be altered only if DAC1 is powered down. Unlike DA2FLT, this bit does not control the analog output swing of DAC1, which is fixed at 2.000 V p-p when the output level is set to 0 dB by Control Register Address 9. 0 = Digital Audio Filter 1 = Digital Modem Filter Digital ADC Right Channel Source Select. 00 = Input from Analog: ADC Right Channel (Normal Operation) 01 = Reserved 10 = Input from Digital: DAC1 Right Channel (Digital Resampler) 11 = Input from Digital: DAC2 Right Channel (Digital Resampler) Digital ADC Left Channel Source Select. 00 = Input from Analog: ADC Left Channel (Normal Operation) 01 = Reserved 10 = Input from Digital: DAC1 Left Channel (Digital Resampler) 11 = Input from Digital: DAC2 Left Channel (Digital Resampler) ADC Right Channel Digital Filter Select and Analog Input Full Scale Mapping Select. Digital filter selected is overridden when DRSFLT is set to "1." See below for filter specifications. This bit can be altered only if the ADC right channel is powered down. 0 = Digital Audio Filter. 2.800 V p-p analog input maps to 215 when gain is set to 0.0 dB (see Control Register Address 2). 1 = Digital Modem Filter. 3.156 V p-p analog input maps to 215 when gain is set to 0.0 dB (see Control Register Address 2). ADC Left Channel Digital Filter Select and Analog Input Full Scale Mapping Select. Digital filter selected is overridden when DRSFLT is set to "1." See below for filter specifications. This bit can be altered only if the ADC left channel is powered down. 0 = Digital Audio Filter. 2.800 V p-p analog input maps to 215 when gain is set to 0.0 dB (see Control Register Address 2). 1 = Digital Modem Filter. 3.156 V p-p analog input maps to 215 when gain is set to 0.0 dB (see Control Register Address 2). Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 0000 0000 0000 0000 (0000 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; or when the PDNO bit in Control Register Address 0 is set to "1" (all conversions disabled). The table below lists the single path (DAC or ADC only) filter characteristics of the "Audio," "Modem," and "Resampler" digital filters. Passband ripple and group delay must be doubled if the DAC is routed back through the ADC for digital resampling. For further information, see the "Filter Selection" section and the filter frequency response plots, Figures 34 through 36. Passband Ripple -0.016 dB -0.220 dB -0.035 dB Stopband Ripple < -91.8 dB < -75.7 dB < -92.2 dB Linear Group Delay < 15/FS < 19/FS < 25/FS
DAADR1:0
DAADL1:0
ADRFLT
ADLFLT
res
Filter Audio Modem Resampler
Edge 0.400 x FS 0.442 x FS 0.400 x FS
Edge 0.600 x FS 0.542 x FS 0.500 x FS
FS is the conversion (sample) rate.
Address 26 Data 15 DA2SM Data 7 SCF Data 14 DA1SM Data 6 FRS
Codec Configuration--Serial Interface Data 13 res Data 5 FRST Data 12 res Data 4 ADTLK Data 11 DA2F1 Data 3 ADRF1 Data 10 DA2F0 Data 2 ADRF0 Data 9 DA1F1 Data 1 ADLF1 Data 8 DA1F0 Data 0 ADLF0
-46-
REV. 0
AD1843
DA2SM DAC2 Stereo/Mono Mode Select. When in stereo mode, data transmitted to the AD1843 during slot 4 is used by DAC2 left and data transmitted to the AD1843 during slot 5 is used by DAC2 right. When in mono mode, data transmitted to the AD1843 during slot 4 is used by both DAC2 left and right, and data transmitted to the AD1843 during slot 5 is ignored. (Note: slot 0 is assumed to be the first slot.) 0 = Stereo Mode 1 = Mono Mode DAC1 Stereo/Mono Mode Select. When in stereo mode, data transmitted to the AD1843 during slot 2 is used by DAC1 left and data transmitted to the AD1843 during slot 3 is used by DAC1 right. When in mono mode, data transmitted to the AD1843 during slot 2 is used by both DAC1 left and right, and data transmitted to the AD1843 during slot 3 is ignored. (Note: slot 0 is assumed to be the first slot.) 0 = Stereo Mode 1 = Mono Mode DAC2 (Left and Right Channels) Data Format Select. 00 = 8-bit Unsigned Linear PCM 01 = 16-bit Signed Linear PCM 10 = 8-bit -Law Companded 11 = 8-bit A-Law Companded DAC1 (Left and Right Channels) Data Format Select. 00 = 8-bit Unsigned Linear PCM 01 = 16-bit Signed Linear PCM 10 = 8-bit -Law Companded 11 = 8-bit A-Law Companded SCLK Frequency Select. Changes to this bit do not take effect until shortly after the sixth slot (the final slot owned) is completed. Relevant when the AD1843 is in Master Mode only. 0 = 12.288 MHz 1 = 16.384 MHz Frame Size Select. Selects the number of slots per frame. Changes to this bit do not take effect until the time specified by the FRST bit. 0 = 32 Slots per Frame 1 = 16 Slots per Frame Frame Size Change Timing. Selects the point in time when FRS takes effect. 0 = Frame Size Changes Once the Current Frame is Complete 1 = Frame Size Changes Immediately, Beginning with the Current Frame ADC Transmit Lock Mode Select. When this bit is set to "1," ADC transmit lock mode is entered. In this mode, left and right ADC samples are transmitted during a frame only if both left and right samples are ready to be transmitted. When not in ADC transmit lock mode, left and right samples are transmitted as they individually become available. Note that even if left and right ADCs are programmed to the same sample rate, unless the AD1843 is in transmit lock mode, ADC samples will not necessarily be transmitted paired together in a TDM frame. This bit should be set to "1" only if both ADCs are powered down and only if both ADCs will be programmed to the sample rate once they are enabled. This bit may be reset to "0" at any time. While in ADC transmit lock mode, both ADCs must be enabled and disabled simultaneously (write to Control Register Address 27 must set ADLEN and ADREN both to "0" or to "1"). 0 = ADC Transmit Lock Mode Disabled 1 = ADC Transmit Lock Mode Enabled ADC Right Channel Data Format Select. 00 = 8-bit Unsigned Linear PCM 01 = 16-bit Signed Linear PCM 10 = 8-bit -Law Companded 11 = 8-bit A-Law Companded ADC Left Channel Data Format Select. 00 = 8-bit Unsigned Linear PCM 01 = 16-bit Signed Linear PCM 10 = 8-bit -Law Companded 11 = 8-bit A-Law Companded Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 0000 0000 0000 0000 (0000 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; or when the PWRDWN pin is asserted LO.
DA1SM
DA2F1:0
DA1F1:0
SCF
FRS
FRST
ADTLK
ADRF1:0
ADLF1:0
res
REV. 0
-47-
AD1843
Address 27 Data 15 DFREE Data 7 ANAEN Data 14 res Data 6 HPEN Codec Configuration--Channel Power Down Data 13 res Data 5 res Data 12 DDMEN Data 4 AAMEN Data 11 res Data 3 res Data 10 res Data 2 res Data 9 DA2EN Data 1 ADREN Data 8 DA1EN Data 0 ADLEN
DFREE
Digital Resource Free. When set to "1," this bit reduces the level of power down normally achieved by asserting the power down bits in this Control Register. However, it allows the digital resources of channels powered down to be partially transferred to the remaining enabled channels and thus permits conversion rates higher than the 48 kHz nominal maximum. See the "Supported Conversion Rates" section. 0 = Power Down of Digital Resources is Complete 1 = Power Down of Digital Resources is Incomplete, Freeing Transferable Resources to Enabled Channels DAC2 to DAC1 Mix Enable/Power Down. When reset to "0," Control Register Address 3 is cleared to its default and cannot be written. 0 = Mix is Powered Down 1 = Mix is Enabled DAC2 (Left and Right Channels) Enable/Power Down. When this bit is reset to "0," DAC2 is powered down and serial interface requests for samples (see slot 0) will cease immediately. When this bit is set to "1," DAC2 is enabled and requests for samples resume on the next frame. Conversions will not actually begin until the first rising edge of the conversion clock (CONV pin) after the sixth rising edge of frame sync (SDFS pin) after this bit is set to "1." This delay allows the four word stereo input buffer for DAC2 to be filled before conversions begin and allows the serial interface to synchronize with the conversion clock, which is potentially already running. This delay also allows DACs on multiple AD1843s sharing the same frame sync to begin conversions synchronously, providing they are enabled at any time during the same frame. When this bit is reset to "0," Control Register Address 10, which is the Output Level Control Register for DAC2, is cleared to default and cannot be written. 0 = DAC2 is Powered Down, Control Register Address 10 (DAC2 Output Level Control) is Cleared 1 = DAC2 is Enabled DAC1 (Left and Right Channels) Enable/Power Down. When this bit is reset to "0," DAC1 is powered down and serial interface requests for samples (see slot 0) will cease immediately. When this bit is set to "1," DAC1 is enabled and requests for samples resume on the next frame. Conversions will not actually begin until the first rising edge of the conversion clock (CONV pin) after the sixth rising edge of frame sync (SDFS pin) after this bit is set to "1." This delay allows the four word stereo input buffer for DAC1 to be filled before conversions begin and allows the serial interface to synchronize with the conversion clock, which is potentially already running. This delay also allows DACs on multiple AD1843s sharing the same frame sync to begin conversions synchronously, providing they are enabled at any time during the same frame. When this bit is reset to "0," Control Register Address 9, which is the Output Level Control Register for DAC1, is cleared to default and cannot be written. 0 = DAC1 is Powered Down, Control Register Address 9 (DAC1 Output Level Control) is Cleared 1 = DAC1 is Enabled Analog Channel Enable/Power Down. If this bit is reset to "0," all analog conversion circuitry (related to bits DA1EN, DA2EN, ADLEN, ADREN, DDMEN and AAMEN) will be powered down. When reset to "0," the only conversion channels usable (but must be enabled separately) are the digital resampling paths. Since resetting this bit to "0" powers down the analog ADC, DAC1, DAC2 and analog mixers, their related output level Control Register Addresses 4 through 7, half of 8, 9 and 10 are cleared and cannot be written while ANAEN remains "0." 0 = Analog Channels are Powered Down, Control Register Addresses 4 through 7, half of 8, 9 and 10 are Cleared to Default (Digital to Digital Still Possible) 1 = Analog DAC and ADC Paths are Controlled by DA1EN, DA2EN, ADLEN, ADREN, DDMEN and AAMEN Headphone Enable/Power Down. 0 = Headphone Output is Powered Down 1 = Headphone Output is Enabled Analog Input to Analog Output Mix Enable/Power Down. When reset to "0," Control Register Addresses 4 - 7 and half of Control Register Address 8 are cleared and cannot be written. 0 = Mix is Powered Down 1 = Mix is Enabled
DDMEN
DA2EN
DA1EN
ANAEN
HPEN
AAMEN
-48-
REV. 0
AD1843
ADREN ADC Right Channel Enable/Power Down. When this bit is reset to "0," the right ADC channel is powered down and serial interface sample output will cease after the current frame. When this bit is set to "1," the right ADC channel is enabled and sampling of analog input will begin on the first rising edge of the conversion clock (CONV pin) after the sixth rising edge of frame sync (SDFS pin). This delay allows the ADC startup to be similar to the DAC startup, and allows some time for stale ADC data inside the AD1843 to be cleared. It also allows the serial interface to synchronize with the conversion clock, which is potentially already running. Multiple ADCs on multiple AD1843s which share the same frame sync will be synchronously started if they are enabled at any time during the same frame. 0 = ADC Right Channel is Powered Down 1 = ADC Right Channel is Enabled ADC Left Channel Enable/Power Down. When this bit is reset to "0," the left ADC channel is powered down and serial interface sample output will cease after the current frame. When this bit is set to "1," the left ADC channel is enabled and sampling of analog input will begin on the first rising edge of the conversion clock (CONV pin) after the sixth rising edge of frame sync (SDFS pin). This delay allows the ADC startup to be similar to the DAC startup, and allows some time for stale ADC data inside the AD1843 to be cleared. It also allows the serial interface to synchronize with the conversion clock, which is potentially already running. Multiple ADCs on multiple AD1843s which share the same frame sync will be synchronously started if they are enabled at any time during the same frame. 0 = ADC Left Channel is Powered Down 1 = ADC Left Channel is Enabled Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 0000 0000 1100 0000 (00C0 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; when the PWRDWN pin is asserted LO; or when the PDNO bit in Control Register Address 0 is set to "1" (all conversions disabled).
Address 28 Data 15 PDNI Data 7 ENCV3 Data 14 ACEN Data 6 ENBT3 Codec Configuration--Fundamental Settings Data 13 C3EN Data 5 ENCV2 Data 12 C2EN Data 4 ENBT2 Data 11 C1EN Data 3 ENCV1 Data 10 ENCLKO Data 2 ENBT1 Data 9 XCTL1 Data 1 LINRSD Data 8 XCTL0 Data 0 LINLSD
ADLEN
res
PDNI
Converter Power Down. When set to "1," this bit initiates the process of powering down all conversion channels, overriding the settings in Control Register Address 27. Unlike the individual power down bits in Control Register Address 27, asserting this bit allows the DAC and VREF output pins to slowly decay to ground. Setting this bit to "1" results in lower power consumption than results from powering down all channels individually through Control Register Address 27, and also reduces speaker "click" if asserted before the power supply is removed. Power down is not complete until approximately 5 ms after this bit is set to "1." During this time, the AD1843 still requires a clock input from XTALI for proper operation. When reset to "0," this bit initiates the process of preparing the AD1843 for conversions after power down. Approximately 470 ms are necessary to exit power down. The power up/down status of the AD1843 may be monitored through the PDNO bit in Control Register Address 0. Asserting the power down pin (PWRDWN) will result in an even greater degree of power down as it also powers down the serial interface and crystal oscillator. Once a power up or power down sequence has been initiated, its completion cannot be interrupted. Changes made to the state of PDNI (i.e., writes to PDNI) are ignored until a previously pending PDNI state change has been completely processed. 0 = Normal (Non-Power Down) Operation 1 = Initiate Power Down of All Conversion Channels Autocalibration Enable. When set to "1," autocalibration will occur each time power down is exited (PDNI is changed from a "1" to a "0"). Autocalibration increases the time required to exit power down by 4 ms (from 470 ms to 474 ms). When reset to "0," autocalibration is disabled. This bit is set to "1" initially after reset and cannot be overwritten until after the AD1843 has come out of power down (PDNO bit in Control Register Address 0 reset to "0") at least once. Note that an autocalibration cycle is always performed following a hardware reset (i.e., RESET pin asserted) or a hardware power down (i.e., PWRDWN pin asserted), regardless of the state of ACEN. 0 = Autocalibration Disabled 1 = Autocalibration Enabled, Initiated upon Exiting Power Down Clock Generator 3 Enable/Power Down. 0 = Clock Generator 3 Powered Down 1 = Clock Generator 3 Enabled
ACEN
C3EN
REV. 0
-49-
AD1843
C2EN Clock Generator 2 Enable/Power Down. 0 = Clock Generator 2 Powered Down 1 = Clock Generator 2 Enabled Clock Generator 1 Enable/Power Down. 0 = Clock Generator 1 Powered Down 1 = Clock Generator 1 Enabled CLKOUT Pin Enable. 0 = Clock Output is Three-stated (Powered Down) 1 = Clock Output is Enabled External Control. The state of these independent bits is reflected on the respective XCTL1 and XCTL0 output pins. 0 = TTL Logic Level LO on XCTL1/XCTL0 pin 1 = TTL Logic Level HI on XCTL1/XCTL0 pin CONV3 Pin Enable. 0 = CONV3 is Three-stated (Powered Down) 1 = CONV3 is Enabled BIT3 Pin Enable. 0 = BIT3 is Three-stated (Powered Down) 1 = BIT3 is Enabled CONV2 Pin Enable. 0 = CONV2 is Three-stated (Powered Down) 1 = CONV2 is Enabled BIT2 Pin Enable. 0 = BIT2 is Three-stated (Powered Down) 1 = BIT2 is Enabled CONV1 Pin Enable. 0 = CONV1 is Three-stated (Powered Down) 1 = CONV1 is Enabled BIT1 Pin Enable. 0 = BIT1 is Three-stated (Powered Down) 1 = BIT1 is Enabled Line Input Right Channel Single-Ended or Differential Configuration. 0 = Right Channel Line Input is Single-Ended 1 = Right Channel Line Input is Differential Line Input Left Channel Single-Ended or Differential Configuration. 0 = Left Channel Line Input is Single-Ended 1 = Left Channel Line Input is Differential Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 1100 0100 0000 0000 (C400 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; or when the PWRDWN pin is asserted LO.
C1EN
ENCLKO
XCTL1:0
ENCV3
ENBT3
ENCV2
ENBT2
ENCV1
ENBT1
LINRSD
LINLSD
res
Address 29 Data 15 res Data 7 res Data 14 res Data 6 res
Reserved for Future Expansion Data 13 res Data 5 res Data 12 res Data 4 res Data 11 res Data 3 res Data 10 res Data 2 res Data 9 res Data 1 res Data 8 res Data 0 res
res
Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 0000 0000 0000 0000 (0000 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; or when the PWRDWN pin is asserted LO.
-50-
REV. 0
AD1843
Address 30 Data 15 res Data 7 res Data 14 res Data 6 res Reserved for Future Expansion Data 13 res Data 5 res Data 12 res Data 4 res Data 11 res Data 3 res Data 10 res Data 2 res Data 9 res Data 1 res Data 8 res Data 0 res
res
Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 0000 0000 0000 0000 (0000 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; or when the PWRDWN pin is asserted LO.
Address 31 Data 15 res Data 7 res Data 14 res Data 6 res
Reserved for Future Expansion Data 13 res Data 5 res Data 12 res Data 4 res Data 11 res Data 3 res Data 10 res Data 2 res Data 9 res Data 1 res Data 8 res Data 0 res
res
Reserved for future expansion. To ensure future compatibility, write "0" to all reserved bits. Initial default state after reset: 0000 0000 0000 0000 (0000 hex). Cleared to default and cannot be written to when: the RESET pin is asserted LO; or when the PWRDWN pin is asserted LO.
BIT AND REGISTER MAPS
A map of all TDM time slot bit assignments and Control Register contents is summarized for reference as follows in Figure 14 and Figure 15:
INPUT SLOT 0 OR 16 1 OR 17 2 OR 18 3 OR 19 4 OR 20 5 OR 21 DATA 15 DATA 14 DATA 13 DATA 12 DATA 11 DATA 10 RES RES RES RES RES RES DATA 15 DATA 14 DATA 13 DATA 12 DATA 11 DATA 10 DATA 15 DATA 14 DATA 13 DATA 12 DATA 11 DATA 10 DATA 15 DATA 14 DATA 13 DATA 12 DATA 11 DATA 10 DATA 15 DATA 14 DATA 13 DATA 12 DATA 11 DATA 10 DATA 15 DATA 14 DATA 13 DATA 12 DATA 11 DATA 10 DATA 9 DA2V DATA 9 DATA 9 DATA 9 DATA 9 DATA 9 DATA 9 ADRV DATA 9 DATA 9 DATA 9 RES RES DATA 8 DA1V DATA 8 DATA 8 DATA 8 DATA 8 DATA 8 DATA 8 ADLV DATA 8 DATA 8 DATA 8 RES RES DATA 7 R/W DATA 7 DATA 7 DATA 7 DATA 7 DATA 7 DATA 7 RES DATA 7 DATA 7 DATA 7 RES RES DATA 6 RES DATA 6 DATA 6 DATA 6 DATA 6 DATA 6 DATA 6 RES DATA 6 DATA 6 DATA 6 RES RES DATA 5 RES DATA 5 DATA 5 DATA 5 DATA 5 DATA 5 DATA 5 RES DATA 5 DATA 5 DATA 5 RES RES DATA 4 IA4 DATA 4 DATA 4 DATA 4 DATA 4 DATA 4 DATA 4 RES DATA 4 DATA 4 DATA 4 RES RES DATA 3 IA3 DATA 3 DATA 3 DATA 3 DATA 3 DATA 3 DATA 3 RES DATA 3 DATA 3 DATA 3 RES RES DATA 2 IA2 DATA 2 DATA 2 DATA 2 DATA 2 DATA 2 DATA 2 RES DATA 2 DATA 2 DATA 2 RES RES DATA 1 IA1 DATA 1 DATA 1 DATA 1 DATA 1 DATA 1 DATA 1 DA2RQ DATA 1 DATA 1 DATA 1 RES RES DATA 0 IA0 DATA 0 DATA 0 DATA 0 DATA 0 DATA 0 DATA 0 DA1RQ DATA 0 DATA 0 DATA 0 RES RES
OUTPUT SLOT DATA 15 DATA 14 DATA 13 DATA 12 DATA 11 DATA 10 0 OR 16 1 OR 17 2 OR 18 3 OR 19 4 OR 20 5 OR 21 RES RES RES RES RES RES DATA 15 DATA 14 DATA 13 DATA 12 DATA 11 DATA 10 DATA 15 DATA 14 DATA 13 DATA 12 DATA 11 DATA 10 DATA 15 DATA 14 DATA 13 DATA 12 DATA 11 DATA 10 RES RES RES RES RES RES RES RES RES RES RES RES
Figure 14. AD1843 TDM Time Slot Bit Assignment Map
REV. 0
-51-
AD1843
CONTROL REG DATA 15 DATA 14 DATA 13 DATA 12 DATA 11 DATA 10 ADDRESS 0 ADDRESS 1 ADDRESS 2 ADDRESS 3 ADDRESS 4 ADDRESS 5 ADDRESS 6 ADDRESS 7 ADDRESS 8 ADDRESS 9 ADDRESS 10 ADDRESS 11 ADDRESS 12 ADDRESS 13 ADDRESS 14 ADDRESS 15 ADDRESS 16 ADDRESS 17 ADDRESS 18 ADDRESS 19 ADDRESS 20 ADDRESS 21 ADDRESS 22 ADDRESS 23 ADDRESS 24 ADDRESS 25 ADDRESS 26 ADDRESS 27 ADDRESS 28 ADDRESS 29 ADDRESS 30 ADDRESS 31 INIT RES LSS2 LD1MM LX1MM LX2MM LX3MM LMCMM MNMM PDNO RES LSS1 RES RES RES RES RES RES RES RES LSS0 RES RES RES RES RES RES RES RES LMGE LD1M4 LX1M4 LX2M4 LX3M4 LMCM4 MNM4 RES RES LIG3 LD1M3 LX1M3 LX2M3 LX3M3 LMCM3 MNM3 LDA1G3 LDA2G3 LDA1A3 LDA2A3 LAD1M3 LAD2M3 DA2C1 C1X8/7 C1C11 RES C2X8/7 C2C11 RES C3X8/7 C3C11 RES RES DA2F1 RES C1EN RES RES RES RES RES LIG2 LD1M2 LX1M2 LX2M2 LX3M2 LMCM2 MNM2 LDA1G2 LDA2G2 LDA1A2 LDA2A2 LAD1M2 LAD2M2 DA2C0 C1C128 C1C10 RES C2C128 C2C10 RES C3C128 C3C10 RES RES DA2F0 RES ENCLKO RES RES RES DATA 9 RES SU2 LIG1 LD1M1 LX1M1 LX2M1 LX3M1 LMCM1 MNM1 LDA1G1 LDA2G1 LDA1A1 LDA2A1 LAD1M1 LAD2M1 DA1C1 RES C1C9 RES RES C2C9 RES RES C3C9 RES DA2FLT DA1F1 DA2EN XCTL1 RES RES RES DATA 8 RES SU1 LIG0 LD1M0 LX1M0 LX2M0 LX3M0 LMCM0 MNM0 LDA1G0 LDA2G0 LDA1A0 LDA2A0 LAD1M0 LAD2M0 DA1C0 RES C1C8 C1PD RES C2C8 C2PD RES C3C8 C3PD DA1FLT DA1F0 DA1EN XCTL0 RES RES RES DATA 7 RES RES RSS2 RD1MM RX1MM RX2MM RX3MM RMCMM ALLMM DATA 6 RES RES RSS1 RES RES RES RES RES MNOM DATA 5 RES RES RSS0 RES RES RES RES RES HPOM DATA 4 RES RES RMGE RD1M4 RX1M4 RX2M4 RX3M4 RMCM4 HPOS DATA 3 ID3 OVR1 RIG3 RD1M3 RX1M3 RX2M3 RX3M3 RMCM3 SUMM DATA 2 ID2 OVR0 RIG2 RD1M2 RX1M2 RX2M2 RX3M2 RMCM2 RES DATA 1 ID1 OVL1 RIG1 RD1M1 RX1M1 RX2M1 RX3M1 RMCM1 DAC2T DATA 0 ID0 OVL0 RIG0 RD1M0 RX1M0 RX2M0 RX3M0 RMCM0 DAC1T
LDA1GM RES LDA2GM RES LDA1AM RES LDA2AM RES LAD1MM RES LAD2MM RES RES C1REF C1C15 RES C2REF C2C15 RES C3REF C3C15 RES DRSFLT DA2SM DFREE PDNI RES RES RES RES C1VID C1C14 RES C2VID C2C14 RES C3VID C3C14 RES DAMIX DA1SM RES ACEN RES RES RES
LDA1G5 LDA1G4 LDA2G5 LDA2G4 LDA1A5 LDA2A5 LDA1A4 LDA2A4
RDA1GM RES RDA2GM RES RDA1AM RES RDA2AM RES RAD1MM RES RAD2MM RES RES C1M7 C1C7 C1P7 C2M7 C2C7 C2P7 C3M7 C3C7 C3P7 DAADR1 SCF ANAEN ENCV3 RES RES RES RES C1M6 C1C6 C1P6 C2M6 C2C6 C2P6 C3M6 C3C6 C3P6 FRS HPEN ENBT3 RES RES RES
RDA1G5 RDA1G4 RDA1G3 RDA1G2 RDA1G1 RDA1G0 RDA2G5 RDA2G4 RDA2G3 RDA2G2 RDA2G1 RDA2G0 RDA1A5 RDA1A4 RDA2A5 RDA2A4 RDA1A3 RDA1A2 RDA2A3 RDA2A2 RDA1A1 RDA2A1 RDA1A0 RDA2A0
LAD1M5 LAD1M4 LAD2M5 LAD2M4 RES C1C13 RES C2C13 RES C3C13 RES RES RES RES C3EN RES RES RES RES C1C12 RES C2C12 RES C3C12 RES RES RES DDMEN C2EN RES RES RES C1PLLG C1P200
RAD1M5 RAD1M4 RAD1M3 RAD1M2 RAD1M1 RAD1M0 RAD2M5 RAD2M4 RAD2M3 RAD2M2 RAD2M1 RAD2M0 RES C1M5 C1C5 C1P5 C2M5 C2C5 C2P5 C3M5 C3C5 C3P5 FRST RES ENCV2 RES RES RES RES C1M4 C1C4 C1P4 C2M4 C2C4 C2P4 C3M4 C3C4 C3P4 ADTLK AAMEN ENBT2 RES RES RES ADRC1 C1M3 C1C3 C1P3 C2M3 C2C3 C2P3 C3M3 C3C3 C3P3 ADRF1 RES ENCV1 RES RES RES ADRC0 C1M2 C1C2 C1P2 C2M2 C2C2 C2P2 C3M2 C3C2 C3P2 RES ADRF0 RES ENBT1 RES RES RES ADLC1 C1M1 C1C1 C1P1 C2M1 C2C1 C2P1 C3M1 C3C1 C3P1 ADRFLT ADLF1 ADREN LINRSD RES RES RES ADLC0 C1M0 C1C0 C1P0 C2M0 C2C0 C2P0 C3M0 C3C0 C3P0 ADLFLT ADLF0 ADLEN LINLSD RES RES RES
C2PLLG C2P200
C3PLLG C3P200
DAADR0 DAADL1 DAADL0 RES
Figure 15. AD1843 Control Register Map
Figure 16 shows an annotated version of the AD1843 detailed block diagram, indicating the specific Control Register bit fields which configures the various features of the SoundComm codec.
START-UP SEQUENCE
The following paragraphs describe a typical, generic start-up sequence, for the purpose of helping hardware, systems and software driver engineers understand some of the considerations involved in bringing up a system which includes the AD1843. Note that it does not exhaustively outline all of the flexible configurations and features available in the AD1843. 1. System power supplies stabilize. Ideally, the AD1843 RESET pin should be held LO during this period. If RESET is not asserted, the AD1843 will come up in an unknown state. 2. Assert the RESET signal (PLCC Pin 52, TQFP Pin 65). Once the power supplies have stabilized, the AD1843 RESET must be asserted LO for at least 100 ns with BM (PLCC Pin 10, TQFP Pin 12) tied to the appropriate level to establish whether the codec is serial bus master or slave. 3. Deassert the RESET signal and enter a wait period to allow the AD1843 internal clocks and the external crystal oscillator to stabilize. The wait period duration will be typically 400 s to 800 s after RESET is deasserted, but significantly longer time may be necessary depending on XTALI and XTALO pin parasitics. If the AD1843 is serial bus master, the host CPU or DSP can poll the INIT bit (Control Register Address 0, Bit 15) to determine when the AD1843 is ready to proceed. Alternatively, the host CPU or DSP can write to Control Register 16 through 24, or 26 or 28 (using a data pattern different from the initial reset default for that Control Register), and proceed when the Control
Register readback (on the following frame) matches the data written. Writes to these Control Registers will fail until the AD1843 internal clocks are stabilized. If the system has been designed for 16 slots per frame, it is suggested that this first "polling write/readback" is to Control Register Address 26, with FRS (Bit 6) set to "1" and FRST (Bit 5) set to "1," so that the AD1843 will support the 16 slot per frame mode immediately. 4. Put the conversion resources into standby. With the exception of the serial interface, the AD1843 is still completely powered down before this step. The PDNI bit (Control Register Address 28, Bit 15) should now be reset to "0" to initiate the process of taking the AD1843 conversion resources out of power down and into standby. This requires approximately 470 ms. An autocalibration cycle always occurs (automatically, without user programming or intervention) following the deassertion of the RESET pin or the PWRDWN pin (i.e., hardware reset or hardware power down), adding another approximately 4 ms, for a total of approximately 474 ms. Subsequent software power-down cycles, programmed using Control Register bits, do not ordinarily require additional calibration cycles. The original calibration information is retained during the power down sequence. However, the user can force an autocalibration to occur following a software power down by setting ACEN (Control Register Address 28, Bit 14) to "1." The host CPU or DSP can poll the PDNO bit (Control Register Address 0, Bit 14) to determine when the conversion resources are out of power down. Alternatively, the host CPU or DSP can write to Control Register Address 27 (using a data pattern different from the initial reset default), and proceed when the
-52-
REV. 0
REV. 0
XTALI XTALO SYNC3 SYNC2 SYNC1 CONV3 CONV2 CONV1 BIT3 BIT2 BIT1 CLOCK GENERATION (0) CLKOUT
LINLP LINLN
LINRP LINRN
LMGE[2]
AD1843
[ ] INDICATES CONTROL REGISTER ADDRESS ( ) INDICATES CONTROL REGISTER DATA CONTROL AND STATUS REGISTERS
MICL MICR (1) 20dB
RMGE[2]
AUX1L AUX1R
AUX2L AUX2R (4)
SELECTOR DAADL[25]
S E L E LSS[2] C T (2) O RSS[2] R (3) PGA LIG[2] RIG[2] (0) LEFT RIGHT ADC ADLEN[27] ADREN[27]
AUX3L AUX3R (5) (2) (6)
SELECTOR DAADL[25] DAADR[25] DAADR[25]
MIN
/A LAW
ADC SCLK
ATTN LAD1M[13] RAD1M[13] MUTE LAD1MM[13] RAD1MM[13]
(7)
GN/AT LX3M[6] RX3M[6] GN/AT LX2M[5] RX2M[5] GN/AT LMCM[7] RMCM[7] GN/AT LX1M[4] RX1M[4]
SDFS SDI SDO BM CS
PDMNFT (3)
MUTE LX3MM[6] RX3MM[6] ALLMM[8] MUTE LX2MM[5] RX2MM[5] ALLMM[8] MUTE LX1MM[4] RX1MM[4] ALLMM[8] MUTE LMCMM[7] RMCMM[7] ALLMM[8]
MUTE
GN/AT MNM[8]
Figure 16. AD1843 Annotated Detailed Block Diagram with Control Register Address and Data Values
LEFT RIGHT GN/AT = GAIN/ATTENUATION MUTE LD2MM[3] RD2MM[3] ALLMM[8] GN/AT LD2M[3] RD2M[3] MUTE DAMIX[25]
ATTN LAD2M[14] RAD2M[14]
-53-
MUTE LDA1GM[9] RDA1GM[9] GN/AT LDA1G[9] RDA1G[9] DAC DA1EN[27] MUTE DAMIX[25] MUTE LDA2GM[10] RDA2GM[10] GN/AT LDA2G[10] RDA2G[10] LEFT DAC DA2EN[27] RIGHT VOLTAGE REFERENCE 4 AAFILTR VREF CMOUT FILTL FILTR GNDA
MOUT
MUTE MNOM[8]
MUTE MNMM[8] ALLMM[8]
D I G I T A L
LOUT1L
LOUT1R
MUTE LDA1AM[11] RDA1AM[11]
ATTN LDA1A[11] RDA1A[11]
FIFO
/A LAW
DAC1 TSO TSI 2 XCTL [1:0]
DRIVER HPEN[27]
MUTE SUMM[8]
MUTE HPOM[8]
HPOUTL HPOUTC HPOUTR
MUTE LAD2MM[14] RAD2MM[14]
I N T E R F A C E LEFT
MUTE LDA2AM[12] RDA2AM[12] ATTN LDA2A[12] RDA2A[12]
RESET PWRDWN RIGHT FIFO /A LAW DAC2
LOUT2LP LOUT2LN LOUT2RP LOUT2RN
SUML SUMR
3 VCC
8 GNDD
9 VDD
AAFILTL
AD1843
AD1843
AD1843 STATE
RESET = LO ALL DOWN INIT = 1 PDNO =1 INTERFACE: DOWN CLOCK GENERATORS: DOWN CONVERSIONS: DOWN INTERFACE: READS ONLY IF SLAVE, DOWN IF MASTER CLOCK GENERATORS: DOWN CONVERSIONS: DOWN INTERFACE: ALIVE CLOCK GENERATORS: ENABLEABLE (CONTROL REGISTER ADDRESS 28) CONVERSIONS: DOWN NONE
ACTIVITY LEVEL
WRITABLE REGISTERS*
PWRDWN = LO
PWRDWN = HI, RESET = HI
PWRDWN = LO CONVERSION RESOURCES POWER DOWN INIT = 0 PDNO = 1 PDNI = 1
INITIALIZING INIT = 1 PDNO = 1 TIME: 800s?
NONE
16-24, 26, 28
PWRDWN = HI
PDNI = 0
PDNI = 0
CONVERSION RESOURCES ENTERING POWER DOWN INIT = 0 PDNO = 1 TIME: < 5ms
CONVERSION RESOURCES EXITING POWER DOWN INIT = 0 PDNO = 1 TIME: < 470ms
ACEN = 1 AUTOCAL INIT = 0 PDNO = 1 TIME: < 4ms
INTERFACE: ALIVE CLOCK GENERATORS: ENABLEABLE (CONTROL REGISTER ADDRESS 28) CONVERSIONS: DOWN
16-24, 26, 28
PDNI = 1 OR PWRDWN = LO
ACEN = 0
CONVERSION RESOURCES POWERED UP INIT = 0 PDNO = 0 ADCL ADCR DAC1 DAC2 STBY EN = STATE = TRANSMISSION (WILL NOT BE INTERRUPTED ONCE STARTED UNLESS RESET = LO) STBY EN STBY EN STBY EN
INTERFACE: ALIVE CLOCK GENERATORS: ENABLEABLE (CONTROL REGISTER ADDRESS 28) CONVERSIONS: ENABLEABLE (CONTROL REGISTER ADDRESS 27)
POTENTIALLY ALL, DEPENDING ON ENABLED RESOURCES (SEE TEXT)
*REGISTERS ARE ALWAYS READABLE, UNLESS RESET = LO
Figure 17. AD1843 Start-Up Sequence State Diagram
Control Register readback (on the following frame) matches the data written. Writes to Control Register Address 27 will fail unless the conversion resources are out of power down. 5. Power up the clock generators and enable clock output pins. When the PDNI bit (Control Register Address 28, Bit 15) is reset to "0" in Step 4 above, the C3EN, C2EN, C1EN, CONV[3:1], and BIT[3:1] bits, which are also located in Control Register Address 28, may be set to "1" to power up any clock generators which will be used, and to enable any conversion clock and bit clock outputs needed. While waiting for the conversion resources to enter standby, it is convenient to write to the clock generator Control Registers (16 through 24) to select sample rates, bit clock frequencies, external/internal sample rate lock mode, etc. This is also a convenient time to write to Control Register Address 26 (if it was not already written in Step 3) to select the serial interface configuration such as data format, SCLK frequency, etc. 6. Configure conversion resources while they are in standby. Once in standby, the conversion resources may be configured. They are forced to their defaults whenever powered down. Control Register Address 2 may be written to select between ADC sources and gain levels. Control Register Address 15 may be written to select the assignments of sample clock sources to conversion resource. Control Register Addresses 13 and 14 may be written to enable digital data flow paths which mix ADC output back into the DAC input. Control Register Address 25 may be written to select conversion resource filter mode (audio, modem or resampler), and to select digital data flow paths which may be used to achieve
digital-to-digital sample rate conversion and DAC-to-DAC digital mixing. Note that, with the exception of filter mode and DAC-to-DAC digital mixing, all of these configuration selections may also be changed while a conversion resource is out of standby and enabled. 7. Enable conversion resources. Conversion resources are taken out of standby and enabled by writes to Control Register Address 27. Control Register Address 27 contains individual enable bits for the conversion resources which are grouped as follows: DAC1 (stereo pair); DAC2 (stereo pair); ADC left channel; ADC right channel; DAC2 to DAC1 mix; and ADC input to DAC1 output mix. If a DAC is enabled, it will begin requesting playback samples on the next TDM frame (i.e., the DA2RQ and/or the DA1RQ flags in the Status Register will be set to "1"). Conversions will not actually begin until the first rising edge of the conversion clock (assigned to the DAC) after the sixth rising edge of the frame sync (SDFS) signal. This delay allows the four word deep stereo FIFOs to be filled before conversions begin. (Six frames are required to fill a four word deep FIFO because on the first frame, the DAC playback is enabled; on the second frame, the DA2RQ and/or DA1RQ flags are set to "1"; then four more frames are required to actually fill the FIFO.) If an ADC is enabled, sampling of the analog input will begin on the first rising edge of the conversion clock (assigned to the ADC) after the sixth rising edge of the frame sync (SDFS) signal. The data valid flags (ADRV and/or ADLV) in the Status Word will be set to a "1," indicating a sample is being transmitted shortly thereafter. The exact TDM frame REV. 0
-54-
AD1843
in which the valid flag is first asserted, and continues to be asserted in future frames, depends on how the AD1843 is configured, i.e., the sample rates selected, the frame size selected, and how the shared digital resources within the AD1843 are internally allocated to process all conversion channels. Note that because of this, two ADCs which are enabled during the same frame and share the same sample rate clock, will not necessarily transmit data during the same frames thereafter, even though their analog inputs will always be sampled at the same instant in time. The two ADCs will transmit data during the same frame if ADTLK (Control Register Address 26, Bit 4) is set HI. See the description of the ADTLK bit for restrictions. If mixing is enabled, either a mix from DAC2 to DAC1 or a mix from an ADC input to a DAC output, then the mix will begin during the same TDM frame that it is enabled. 8. Configure conversion resources while they are enabled. Once enabled, DAC output gain/attenuation levels may be changed using Control Register Addresses 3 through 10. These registers are forced to their default of full attenuation whenever the resource they control is either in standby or completely powered down. Note that while a conversion resource is enabled, all configuration selections related to it may be changed except those outlined in Step 6. The AD1843 Start-Up Sequence state diagram is shown in Figure 17.
APPLICATIONS CIRCUITS
A circuit for 2 V rms line-level inputs is shown in Figure 18. Note that this is a divide-by-two resistive divider, and that the line input is being used in a single-ended configuration. The 1 F ac-coupling capacitor may be of any type (tantalum is a popular choice).
5.1k 1nF 5.1k 1F LINLP 1nF 5.1k 1F LINRP
5.1k
Figure 18. AD1843 2 V rms Single-Ended Line-Level Input Circuit If line-level inputs are already at the 1 V rms levels expected by the AD1843, the circuit shown in Figure 19 below should be used. Note that when single-ended line inputs are desired, only the LINRP and LINLP pins are used. DO NOT use the LINRN or LINLN pins if the line input is single-ended.
1F LINRP 1F LINLP
Figure 19. AD1843 1 V rms Single-Ended Line-Level Input Circuit
The AD1843 SoundComm Codec has been designed to require a minimum of external circuitry. The recommended circuits are shown in Figures 18 through 34. Analog Devices estimates that the total cost of all the components shown in these Figures (including the crystal but not including the DAA) to be less than $6 in 10,000 piece quantities. Industry-standard compact disc "line-levels" are 2 V rms centered around analog ground. (For other audio equipment, "line level" is much more loosely defined.) The AD1843 SoundComm Codec is a +5 V analog supply powered device. Nominal line level voltage swings for the AD1843 are defined to be 1 V rms (ADRFLT and ADLFLT = 0) for a sine wave ADC input and 0.707 V rms for a sine wave DAC output (DA2FLT = 0). Thus, 2 V rms input analog signals must be attenuated and either centered around the reference voltage intermediate between 0 V and +5 V or ac-coupled. The CMOUT pin will be at this intermediate voltage, nominally 2.25 V. It has limited drive but can be used as a voltage datum to an op amp input. CMOUT loading should be minimized to limit any audible clicks and pops. Note that dc-coupled inputs are not recommended, as they provide no performance benefits with the AD1843 architecture. Furthermore, dc offsets on inputs create the potential for clicks when changing the input mix gain/attenuation/mute. The RESET pin must be asserted at or shortly after power up in order to initialize the AD1843 Control Registers to their default states. If the AD1843 will not be used immediately, and if it is desired to utilize the mono input to mono output feedthrough feature, it is essential that the mono output is ac-coupled to prevent audible pops and clicks. It is recommended that all outputs are ac coupled, as standing current in output loads or in the voltage reference will contribute to audible pops and clicks.
The three auxiliary inputs, the SUM inputs, and the mono input of the AD1843 present an input impedance which is lower than the stereo line input. The circuit shown in Figure 20 should be used with 2 V rms swings on these inputs. With 1 V rms swings, the circuit in Figure 19 above should be used.
3.3k 1nF 1F AUX1L AUX2L AUX3L SUML 3.3k 1nF 1F MIN 4.1k 3.3k 1nF 1F AUX1R AUX2R AUX3R SUMR
4.1k
4.1k
Figure 20. AD1843 2 V rms Aux, SUM, and Mono Input Circuits
For optimal performance, the AD1843 includes provision for a differential configuration of the LIN inputs. Figure 21 illustrates a simple single-ended to differential converter. For the best noise immunity, the circuitry to the left of the dotted line should be located as close to the driving signal source as possible. The 0.9K resistor and the 1000 pF capacitor are mandatory when using the LINRN and/or the LINLN inputs. Furthermore, the 0.9K resistor and the 1000 pF NPO capacitor should be located as close to the AD1843 as possible. If the output range of the source does not match that of the AD1843 input, the op amp gain setting resistor values should be scaled to match the source voltage range to the AD1843 input voltage range. Inexpensive feedback capacitors can be added (as shown in the Figure 21 with dotted lines) for additional noise filtering (6 dB per octave). Without the additional filter capacitor, there is a single antialiasing pole at approximately 160 kHz. There is
REV. 0
-55-
AD1843
"room" in the frequency domain for a second pole, especially in modem applications, where the signal bandwidth is 4.2 kHz. A suggested capacitor value is 120 pF when using the 10K op amp feedback resistor as shown, for a -3 dB point of approximately 133 kHz. Note that the combined effect of both filters causes a gain error of approximately 0.1% at 4.2 kHz.
CLOSE TO SOURCE CLOSE TO AD1843
1F LOUT1L LOUT2LP 47k 1F LOUT1R LOUT2RP 47k
1F SOURCE
10k
10k
1F 0.9k 1000pF NPO 1F CMBUF LINLP LINRP LINRN LINLN
Figure 23. AD1843 (Single-Ended) Line Output Connections
10k CMBUF
10k
1/2 SSM2135
1/2 SSM2135
Figure 21. Single-Ended to Differential Converter
For optimal performance, the AD1843 DAC2 output has provision for a differential configuration. A simple differential-tosingle-ended conversion circuit is shown in Figure 24. The noise rejection of this circuit is limited by the match of the R i and Rf resistors. The resistors should be 1% tolerance components. The equation that determines the output voltage is as follows: VO = (Rf /Ri )(V+) - (R f /R i)(V-) For maximum noise immunity, this circuit should be located in close proximity to where VO is processed. Another differential receiver option is the SSM2141, which provides better matching than a discrete implementation.
10pF LOUT2LN (V-) LOUT2LP (V+) Ri Rf VO LOUT2RN (V-) LOUT2RP (V+) Ri 10pF Rf VO
The AD1843 Codec contains an optional +20 dB gain block to accommodate condenser microphones. Particular system requirements will depend upon the characteristics of the intended microphone. Figure 22 illustrates one example of how an electret condenser mic requiring phantom power could be connected to the AD1843. CMOUT is shown buffered by an op amp; the current drawn from CMOUT should be as minimal as possible. Note that if a battery-powered microphone is used, the buffer and R2s are not needed. The values of R1, R2, and C should be chosen in light of the mic characteristics and intended gain. Typical values for these might be R1 = 20 k, R2 = 2 k, and C = 220 pF. Figure 22 shows a voltage follower buffer on the CMOUT signal. The output of this buffer, CMBUF, can be used in any circuit which needs the commonmode bias point from the AD1843's on-chip voltage reference. The AD820 is a JFET input op amp whose very high impedance inputs present essentially no load on the CMOUT output from the AD1843.
C 1F LEFT ELECTRET CONDENSER MICROPHONE INPUT 5k R1 0.33F MICL R2
Ri 10pF
Ri 10pF
1/2 SSM2135
Rf CMBUF
1/2 SSM2135
Rf
CMBUF
1/2 SSM2135
1/2 SSM2135
Figure 24. AD1843 Differential-to-Single-Ended Converter Line Output Connections
1/2 AD820
1/2 SSM2135 OR AD820
CMOUT
R2 RIGHT ELECTRET CONDENSER MICROPHONE INPUT CMBUF 1F 5k
1/2 SSM2135 OR AD820
MICR R1 0.33F
A circuit for headphone drive is illustrated in Figure 25. The AD1843 headphone output is designed to drive loads of 32 ohms or smaller (i.e., higher impedance). If larger loads are used (e.g., 16 ohms or 8 ohms), the analog output will be distorted for large output signals because of current limiting. "Walkman"-type headphone impedances are generally around 32 ohms. Telephone handset impedances are typically 150 ohms.
HPOUTL HPOUTR
C
HPOUTC
Figure 22. AD1843 "Phantom-Powered" Microphone Input Circuit
Figure 25. AD1843 Headphone Drive Connections
Connect unused analog inputs to CMBUF or leave them unconnected; do not connect unused analog inputs to either analog power or ground! Figure 23 shows ac-coupled line outputs. The resistors are used to center the output signals around analog ground. If dccoupling is desired, CMOUT could be used with op amps as mentioned above, if desired.
Figure 26 shows an example circuit for the mono output (MOUT) from the AD1843. The OP279 is a single +5 V supply op amp which can drive a small 8 ohm or 16 ohm speaker to modest levels.
-56-
REV. 0
AD1843
10k 10k MOUT CMBUF 16 470F TO PC SPEAKER
1/2 OP279
required and that external clock sources can be used in place of the AD1843's internal oscillator. If using an external clock source, apply it to the crystal input pin (XTALI) while leaving the crystal output pin (XTALO) unconnected. Attention
XTALI XTALO
OPTIONAL
Figure 26. AD1843 Mono Output Circuit
Figure 27 illustrates reference bypassing. VREF should only be connected to its bypass capacitors. The 10 F capacitor should be tantalum, and the 0.1 F capacitor should be ceramic. Figure 27 shows an optional voltage follower buffer on the CMOUT signal. The output of this buffer, CMBUF, can be used in any circuit which needs the common-mode bias point from the AD1843's on-chip voltage reference. The AD820 is a JFET input op amp whose very high impedance inputs present essentially no load on the CMOUT output from the AD1843.
OPTIONAL BUFFER VREF 10F 0.1F CMOUT 10F 0.1F
20-64pF
24.576 MHz
20-64pF
Figure 30. AD1843 Crystal Connections
should be paid to providing a low-jitter external input clock. Ideally, there should be no greater than 5 ns rms of random (white) phase jitter to ensure that it does not significantly degrade the SNR of the AD1843. Figure 31 and Figure 32 show example circuits for a Data Access Arrangement (DAA). These circuits are shown as examples only; DAA circuits are subject to regulatory approval since they connect directly to the Public Switched Telephone Network (PSTN).
LOUT2LN FROM AD1843 LOUT2LP
CMBUF
1/2 AD820
Figure 27. AD1843 Voltage Reference Bypassing
SSI 73M9001
23 RXA TXA 22 SPK TXA/ 220 15 SPK/ MONSUM 29 TRAN1 TIP 2 TRAN2 RING 8 RI/ OH/ 7 REOUT1 RLY2/ 14 REOUT2 AG0 LO 17 VCCA AG1 HI 18 VCCD LO POWER/ AGND DGND 21 12 11 1 30 6 19 9 13 16 10 20 220F TO AD1843 MIN TO AD1843 LINLP
Figure 28 illustrates the signal-path filtering capacitors, FILTL and FILTR, connections to analog ground. The 1.0 F capacitors required by the AD1843 can be of any type.
FILTL 1.0F FILTR 1.0F
TO AD1843 XCTL0
+5VA VCC VCC 56k
Figure 28. AD1843 External Filter Capacitor Connections
Figure 29 illustrates the antialias filtering capacitors, AAFILTL and AAFILTR, connections to analog ground. The 1000 pF capacitors must be NPO types.
AAFILTL 1000pF NPO AAFILTR 1000pF NPO
PHONE
RING INDICATION TO HOST INTERRUPT J1 1 2 3 4 5 6 RJ11 SINGLE COIL
COIL
Figure 29. AD1843 Antialias Filter Capacitor Connections
The 24.576 MHz crystal shown in the crystal connection circuitry of Figure 30 should be fundamental-mode and paralleltuned. Note that using the exact data sheet frequency is not
DVDD C4 100nF
Figure 31. Silicon Systems DAA Example Circuit
J1 RJ-11 JACK F1 CURRENT L1 LIMIT INDUCTOR L2 INDUCTOR VR3 F2 MOV CURRENT LIMIT C6, 1nF 1.5kV 6 TIP (GREEN) RING (RED) 5 4 3 2 C5, 1nF 1.5kV 1
C3 100nF LOUT2LP C2 100nF LOUT2LN C1 100nF LINLP XCTL0 3 U3B 4 1 U3A 2
8 6 5
XMIT+
VCC
TIP RING
1 2 VR1 MOV VR2 MOV EARTH GROUND
XMIT- RCV OFFHK RT
CERMETEK CH1837 DAA
3 4 DVDD
SN74HC14 SN74HC14
AD1843
R1 100k
GND 9
NOTES: 1. VR1,2,3. OVER VOLTAGE AND LIGHTNING PROTECTION MOV SIDACTORS. AVAILABLE AS A SINGLE UNIT FROM TECCOR, PART NUMBER P3203AB OR P3203AA. 2. C5,6. EMI/RFI SUPPRESSION. HIGH VOLTAGE DISK CERAMIC CAPACITORS, 1nF 1.5kV.
TO DSP OR HOST 3. F1,2. CURRENT LIMITING DEVICES. RAYCHEM POLY FUSE, CPU INTERRUPT U3D U3C PART NUMBER TB600-45; LITTLE FUSE TYPE 251.250 OR 9 8 5 6 BUSSMAN TYPE MCR1/4. FOR NON UL APPLICATIONS, IRQ + C7 A 10 OHM, 1/8W CARBON FILM RESISTOR MAY BE USED. 4.7F TANT SN74HC14 SN74HC14 (OPTIONAL) 4. L1,2. EMI/RFI SUPPRESSION. FERRITE BEADS, FAIR-RITE PART NUMBER 2643666611 OR 2943666661. 5. J1. FCC APPROVED RJ-11 JACK. REF FCC PUBLIC NOTICE #42269
Figure 32. Cermetek DAA Example Circuit
REV. 0
-57-
AD1843
Good, standard engineering practices should be applied for power-supply decoupling. Decoupling capacitors should be placed as close as possible to package pins. If a separate analog power supply is not available, we recommend the circuit shown in Figure 33 for using a single +5 V supply. This circuitry should be as close to the supply pins as is practical.
FERRITE OR SUITABLE INDUCTOR 0.1F 1F 0.1F 0.1F 0.1F 0.1F
+5V SUPPLY
Analog Devices recommends a split ground plane as shown in Figure 35a (PQFP) and Figure 35b (TQFP). The analog plane and the digital plane are connected directly under the AD1843. Splitting the ground plane directly under the SoundComm Codec is optimal because analog pins will be located above the analog ground plane and digital pins will be located directly above the digital ground plane for the best isolation. The digital ground and analog ground should be tied together in the vicinity of the AD1843. Other schemes may also yield satisfactory results. If the split ground plane recommended here is not possible, the AD1843 should be entirely over the analog ground plane.
VDD
VDD
VDD
VDD
0.1F
0.1F
0.1F
0.1F
0.1F 50 49
VDD FERRITE OR SUITABLE INDUCTOR 0.1F 1F
VDD
VDD
VDD
VDD DIGITAL GROUND PLANE ANALOG GROUND PLANE
1.6 1F 0.1F VCC VCC VCC
AD1843
PQFP
10
11
Figure 33. AD1843 Recommended Power Supply Bypassing
Figure 34 illustrates an optional circuit for generating the +5 V analog supply for the AD1843. The +12 V rail available on the ISA bus can be regulated down to +5 V using an ordinary 7805 three-terminal regulator and the bypassing and decoupling capacitors shown. The digital supply should still be decoupled and bypassed as shown above in Figure 33.
FERRITE BEAD +12V 10F PC 0 V DGND AGND 220nF 10F 220nF IN 7805 OUT GND 1F 220nF +5VA
Figure 35a. AD1843 Recommended PQFP Ground Plane
62
61
DIGITAL GROUND PLANE
AD1843
TQFP
ANALOG GROUND PLANE
13
14
Figure 34. AD1843 Optional Analog Supply Regulation Figure 35b. AD1843 Recommended TQFP Ground Plane
-58-
REV. 0
Frequency Response Plots-AD1843
0 -10 -20 -30 -40
0.0000
dB
dB
-50 -60 -70 -80 -90 -100 -110 0 4 8 12 16 20 24 28 kHz 32 36 40 44
-0.0050
-0.0100
0
2
4
6
8
10 kHz
12
14
16
18
a. ADC Audio Full
c. ADC Audio Passband
0 -20 -40 -60 -80
0.008 0.006 0.004 0.002 0.000 -0.002 -0.004 -0.006 -0.008 -0.010 -0.012 -0.014 -0.016 -0.018
0 32 64 96 128 160 192 224 kHz 256 288 320 352
dB
-100 -120 -140 -160 -180
dB
0
2
4
6
8
10 kHz
12
14
16
18
b. DAC Audio 0-384 kHz
d. DAC Audio Passband
Figure 36. AD1843 Audio Mode Frequency Response Plots (Full-Scale Line-Level Inputs, 0 dB Gain) Based on 48 kHz sample rate; other sample rates will show slightly different behavior. See the "Specifications" section for performance limits. The DAC plots do not reflect the additional beneficial roll-off of the AD1843 analog filters. Out-of-band images will be attenuated by an additional 31.4 dB at 100 kHz.
REV. 0
-59-
AD1843
0.040 0 -10 -20 -30 -40 dB dB -50 -60 -70 -80 -90 -100 -110 0 0.8 1.6 2.4 3.2 4.0 kHz 4.8 5.6 6.4 7.2 0.020 0.000 -0.020 -0.040 -0.060 -0.080 -0.100 -0.120 -0.140 -0.160 -0.180 -0.200 -0.220 -0.240 0.2 0.6 1.0 1.4 kHz 1.8 2.2 2.6 3.0
a. ADC Modem Full
0.080
0
c. ADC Modem Passband
0.040
-20 -40 -60 -80
0.000 -0.040
dB
-100 -120 -140 -160 -180 0 4.8 9.6 14.4 19.2 24.0 28.8 33.6 38.4 43.2 48.0 52.8 kHz
dB
-0.080 -0.120 -0.160 -0.200 -0.240 0.2 0.6 1.0 1.4 kHz 1.8 2.2 2.6 3.0
b. DAC Modem 0-57.6 kHz
d. DAC Modem Passband
Figure 37. AD1843 Modem Mode Frequency Response Plots (Full-Scale Line-Level Inputs, 0 dB Gain) Based on 7.2 kHz sample rate; other sample rates will show slightly different behavior. See the "Specifications" section for performance limits. The DAC plots do not reflect the additional beneficial roll-off of the AD1843 analog filters. Out-of-band images will be attenuated by an additional 31.4 dB at 100 kHz.
-60-
REV. 0
AD1843
0 -10 -20 -30 -40 dB dB 4 8 12 16 20 24 28 kHz 32 36 40 44 48 -50 -60 -70 -80 -90 -100 -110 0 -0.035 0 2 4 6 8 kHz 10 12 14 18 0.000 -0.005 -0.010 -0.015 -0.020 -0.025 -0.030 0.005
a. ADC Resampler Full
c. ADC Resampler Passband
0 -20 -40 -60 -80 dB -100 -120 -140 -160 -180 0 32 64 96 128 160 192 224 256 288 320 352 kHz dB
0.008 0.004 0.000 -0.004 -0.008 -0.012 -0.016 -0.020 -0.024 -0.028 -0.032 -0.036 0 2 4 6 8 10 kHz 12 14 16 18
b. DAC Resampler 0-384 kHz
d. DAC Resampler Passband
Figure 38. AD1843 Resampler Mode Frequency Response Plots (Full-Scale Line-Level Inputs, 0 dB Gain) Based on 48 kHz sample rate; other sample rates will show slightly different behavior. See the "Specifications" section for performance limits. The DAC plots do not reflect the additional beneficial roll-off of the AD1843 analog filters. Out-of-band images will be attenuated by an additional 31.4 dB at 100 kHz.
REV. 0
-61-
AD1843
TABLE OF CONTENTS
FEATURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 GENERAL PRODUCT DESCRIPTION . . . . . . . . . . . . . 1 SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 ORDERING INFORMATION . . . . . . . . . . . . . . . . . . . . 6 PIN DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 PIN CONFIGURATIONS . . . . . . . . . . . . . . . . . . . . . . . 7, 8 DETAILED FUNCTIONAL BLOCK DIAGRAM . . . . . 12 DETAILED PRODUCT DESCRIPTION . . . . . . . . . . . . 13 FUNCTIONAL DESCRIPTION . . . . . . . . . . . . . . . . . . . 13 SERIAL INTERFACE . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 SERIAL INTERFACE INPUT . . . . . . . . . . . . . . . . . . . . 22 SERIAL INTERFACE OUTPUT . . . . . . . . . . . . . . . . . . 24 CONTROL REGISTERS . . . . . . . . . . . . . . . . . . . . . . . . . 25 BIT AND REGISTER MAPS . . . . . . . . . . . . . . . . . . . . . . 51 START-UP SEQUENCE . . . . . . . . . . . . . . . . . . . . . . . . . 52 APPLICATIONS CIRCUITS . . . . . . . . . . . . . . . . . . . . . 55 FREQUENCY RESPONSE PLOTS . . . . . . . . . . . . . . . . 59
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm)
S-80 80-Terminal Plastic Quad Flatpack (PQFP)
0.690 (17.45) 0.667 (16.95) 0.555 (14.10) 0.547 (13.90) 0.486 (12.35) TYP
80 1 61 60
ST-100 100-Terminal Plastic Thin Quad Flatpack (TQFP)
0.061 (1.55) 0.049 (1.25) 0.026 (0.65) 0.014 (0.35) SEATING PLANE 0.640 (16.25) SQ 0.620 (15.75) 0.555 (14.10) SQ 0.547 (13.90)
100 1 76 75
0.096 (2.45) MAX 0.037 (0.95) 0.026 (0.65) SEATING PLANE
12 TYP
0.486 (12.35) TYP 0.555 (14.10) 0.547 (13.90)
TOP VIEW
(PINS DOWN)
0.690 (17.45 0.667 (16.95)
TOP VIEW
(PINS DOWN)
0.004 (0.10) MAX 0.010 (0.25) MIN 0.083 (2.10) 0.075 (1.90)
20 21
41 40
0.029 (0.73) 0.023 (0.57)
0.015 (0.38) 0.009 (0.22)
0.004 (0.102) MAX LEAD COPLANARITY 0 - 10
25
6 4 0.007 (0.177) 0.003 (0.077)
26
51 50
0.020 (0.50) BSC
0.012 (0.20) 0.004 (0.10)
-62-
REV. 0
-63-
-64-
C2097-6-1/96
PRINTED IN U.S.A.


▲Up To Search▲   

 
Price & Availability of AD1843JS

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X